import type { ChatMode, ModalViewTypes } from '../components/InkeepWidgetProps';
interface GlobalCookieData {
    chatMode: ChatMode | '' | null;
    hasSwitchModeButtonJiggled: boolean | null;
}
interface PerInstanceCookieData {
    defaultView: ModalViewTypes | null;
    inkeepChatSessionId: string | null;
}
type CookieData = GlobalCookieData & PerInstanceCookieData;
export declare const useBrowserStorage: () => readonly [CookieData, <K extends keyof GlobalCookieData | keyof PerInstanceCookieData>(name: K, value: CookieData[K], days?: number) => void];
export {};
