export type SignFunction = (value: string, secret: string) => Promise; export type UnsignFunction = (cookie: string, secret: string) => Promise;