import browser from 'webextension-polyfill'; export type FormattedUrl = `http${string}`; export type GetClientCookieParams = { name: string; url: string; callback: (changeInfo: ChangeInfo) => Promise; onListenerCallback?: () => void; }; export type ChangeInfo = { cookie: browser.Cookies.Cookie; cause: browser.Cookies.OnChangedCause; removed: boolean; }; export declare function getClientCookie({ url, name }: GetClientCookieParams): Promise; export declare function createClientCookieListener({ url, name, callback }: GetClientCookieParams): { add: () => void; has: () => boolean; remove: () => void; }; //# sourceMappingURL=cookies.d.ts.map