9 lines
614 B
TypeScript
9 lines
614 B
TypeScript
import type { OptionsType, TmpCookiesObj, CookieValueTypes } from '../common/types';
|
|
declare const getCookies: (options?: OptionsType) => Promise<TmpCookiesObj>;
|
|
declare const getCookie: (key: string, options?: OptionsType) => Promise<CookieValueTypes>;
|
|
declare const setCookie: (key: string, data: any, options?: OptionsType) => Promise<void>;
|
|
declare const deleteCookie: (key: string, options?: OptionsType) => Promise<void>;
|
|
declare const hasCookie: (key: string, options?: OptionsType) => Promise<boolean>;
|
|
export * from '../common/types';
|
|
export { getCookies, getCookie, setCookie, deleteCookie, hasCookie };
|