import { RelayCreateOptions, WakuOptions } from "@waku/core"; import type { CreateOptions } from "@waku/create"; import type { Protocols, Waku } from "@waku/interfaces"; export type HookState = { isLoading: boolean; error: null | string; }; export type CrateWakuHook = HookState & { node: null | T; }; export type BootstrapNodeOptions = { options?: T; protocols?: Protocols[]; }; export type LightNodeOptions = CreateOptions & WakuOptions; export type RelayNodeOptions = CreateOptions & WakuOptions & Partial; export type FullNodeOptions = CreateOptions & WakuOptions & Partial;