export type IdentityResolver = (req: Request) => Promise; export type IdentityCookieConfig = { name: string; signingKey: string | Uint8Array; }; export declare function defaultIdentityResolver(cfg: IdentityCookieConfig): IdentityResolver; /** * Async because `crypto.subtle.sign` is the cross-runtime standard. * Callers building a `Set-Cookie` header must `await` this. */ export declare function signCookieValue(value: string, signingKey: string | Uint8Array): Promise; //# sourceMappingURL=identity.d.ts.map