import { type SubscribableRuntime } from "./useRuntimeState.js"; export declare function createStateHookForRuntime(useRuntime: (options: { optional: boolean | undefined; }) => SubscribableRuntime | null): { (): TState; (selector: (state: TState) => TSelected): TSelected; (selector: ((state: TState) => TSelected) | undefined): TSelected | TState; (options: { optional?: false | undefined; }): TState; (options: { optional?: boolean | undefined; }): TState | null; (options: { optional?: false | undefined; selector: (state: TState) => TSelected; }): TSelected; (options: { optional?: false | undefined; selector: ((state: TState) => TSelected) | undefined; }): TSelected | TState; (options: { optional?: boolean | undefined; selector: (state: TState) => TSelected; }): TSelected | null; (options: { optional?: boolean | undefined; selector: ((state: TState) => TSelected) | undefined; }): TSelected | TState | null; }; //# sourceMappingURL=createStateHookForRuntime.d.ts.map