import type { Unsubscribe } from "@assistant-ui/core"; export type SubscribableRuntime = { getState: () => TState; subscribe: (callback: () => void) => Unsubscribe; }; export declare function useRuntimeStateInternal(runtime: SubscribableRuntime, selector?: ((state: TState) => TSelected | TState) | undefined): TSelected | TState; export declare function useRuntimeState(runtime: SubscribableRuntime): TState; export declare function useRuntimeState(runtime: SubscribableRuntime, selector: (state: TState) => TSelected): TSelected; export declare function useRuntimeState(runtime: SubscribableRuntime, selector: ((state: TState) => TSelected) | undefined): TSelected | TState; //# sourceMappingURL=useRuntimeState.d.ts.map