import { TypeColumn } from '../types.js'; import * as React from "react"; export type RDGSearchStore = { dispose: () => void; getDraftServerSnapshot: () => string; getDraftSnapshot: () => string; getColumnsServerSnapshot: () => readonly TypeColumn[]; getColumnsSnapshot: () => readonly TypeColumn[]; getThemeServerSnapshot: () => string; getThemeSnapshot: () => string; getSnapshot: () => string; getServerSnapshot: () => string; registerTarget: (columns: readonly TypeColumn[], theme: string | null | undefined) => () => void; setDraftValue: (value: string, debounceMs: number | null) => void; setValue: (value: string) => void; subscribe: (listener: () => void) => () => void; subscribeColumns: (listener: () => void) => () => void; subscribeDraft: (listener: () => void) => () => void; subscribeTheme: (listener: () => void) => () => void; }; export declare function createRDGSearchStore(initialValue: string): RDGSearchStore; export declare const RDGSearchContext: React.Context; export declare function useRDGSearchStore(): RDGSearchStore; export declare function useRDGSearchSnapshot(): string; export declare function useRDGSearchDraftSnapshot(): string; export declare function useRDGSearchColumnsSnapshot(): readonly TypeColumn[]; export declare function useRDGSearchThemeSnapshot(): string; //# sourceMappingURL=store.d.ts.map