import { ReactNode } from "react";
import { VoidFunc, VoidFuncNoParam } from "../../../fd-toolbox/functions/internal-getter-setter-functions";
/**
 * State and actions for the {@link SearchDialogContext }.
 */
export interface ContextSearchDialogState {
    /** Indicates whether the search dialog is currently open */
    searchDialogOpen: boolean;
    /** Setter function to update the open state of the search dialog */
    setSearchDialogOpen?: VoidFunc<boolean>;
    /** Function to open the search dialog */
    openDialog?: VoidFuncNoParam;
}
/** React context for managing the search dialog state */
export declare const SearchDialogContext: import("react").Context<ContextSearchDialogState>;
/**
 * Provider component that manages the search dialog state
 * and exposes functions to open or toggle the dialog.
 *
 * @param children - React nodes that will have access to the search dialog context.
 */
export declare function SearchDialogProvider({ children }: {
    children: ReactNode;
}): import("react").JSX.Element;
export declare function useSearchDialog(): ContextSearchDialogState;
