import { MediaSelectorMode } from "../../media-selector";
export declare function useMediaSelector(): {
    readonly mediaSelectorVisible: boolean;
    readonly mediaSelectorMode: MediaSelectorMode;
    readonly selectedMediaIdPath: string;
    readonly initialSearchTerm: string | undefined;
    readonly setMediaSelectorVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    readonly selectMedia: ({ selectedIdPath, mode, initialSearchTerm, }: {
        selectedIdPath: string;
        mode?: MediaSelectorMode;
        initialSearchTerm?: string;
    }) => Promise<string | null>;
    readonly onMediaSelect: (mediaUrl: string) => void;
    readonly handleHide: () => void;
};
