import { TabItem, WCMode } from '../layouts/TabLayout/lib/index'; export declare function useQData(q: () => Promise, init?: T | undefined): [T | null | undefined, (dat: T | null | undefined) => void, () => void]; /** * * @param q - Query function * @param init - Initial value * @return [state, isPending, refresh] */ export declare function useQData19(q: () => Promise, init?: Awaited): [T | null | undefined, boolean, () => void]; export declare function useAsync(callback: () => Promise, dependencies?: any[]): [T | undefined, boolean, any]; export declare function useAutoClose(closeFc: () => void, disabeld: boolean, extendSearch?: string): import("react").RefObject; export declare function useAutoClose18({ extendSearch, closeFc, init, noScip, }: { extendSearch?: string; closeFc?: () => void; init?: boolean; noScip?: boolean; }): [React.RefObject, boolean, (x: boolean) => void]; export declare function useTabStore(): { tabState: { currentTabRight: number; currentTabLeft: number; tabsLeft: TabItem[]; tabsRight: TabItem[]; panel: string | null; }; addTab: (el: TabItem, pos: "left" | "right") => void; closeTab: (el: string, pos: "left" | "right") => void; moveTab: (key: string, dest: WCMode, target: WCMode, position?: number) => void; setCurrentTab: (index: number, pos: "left" | "right") => void; setPanel: import("react").Dispatch>; reset: () => void; }; export type TStore = ReturnType; /** * primary {string} Primary key 'ctrl' | 'shift' | 'alt' | 'meta' * secondary {string} Key code */ export type KeyBind = { key: { primary: 'ctrl' | 'shift' | 'alt' | 'meta'; secondary: string; }; action: () => void; }; export declare function useKeyListener(binds: KeyBind[]): void; export declare function usePathQueryMap(): Map;