import Cookies from 'js-cookie'; export declare type UseCookieValueOptions = Cookies.CookieAttributes & (InitializeWithValue extends undefined ? { /** * Whether to initialize state with cookie value or initialize with `undefined` state. * * Default to false during SSR * * @default true */ initializeWithValue?: InitializeWithValue; } : { initializeWithValue: InitializeWithValue; }); export declare type UseCookieValueReturn = [ value: V, set: (value: string) => void, remove: () => void, fetch: () => void ]; export declare function useCookieValue(key: string, options: UseCookieValueOptions): UseCookieValueReturn; export declare function useCookieValue(key: string, options?: UseCookieValueOptions): UseCookieValueReturn;