/// <reference types="js-cookie" />
export type UseCookieValueOptions<InitializeWithValue extends boolean | undefined = boolean | undefined> = Cookies.CookieAttributes & (InitializeWithValue extends undefined ? {
    initializeWithValue?: InitializeWithValue;
} : {
    initializeWithValue: InitializeWithValue;
});
export type UseCookieValueReturn<V extends undefined | null | string = undefined | null | string> = [
    value: V,
    set: (value: string) => void,
    remove: () => void,
    fetch: () => void
];
export declare function useCookieValue(key: string, options: UseCookieValueOptions<false>): UseCookieValueReturn;
export declare function useCookieValue(key: string, options?: UseCookieValueOptions): UseCookieValueReturn;
