import type { SanitizedPermissions, TypedUser } from '../../index.js'; import type { PayloadRequest } from '../../types/index.js'; export type AuthArgs = { /** * Specify if it's possible for auth strategies to set headers within this operation. */ canSetHeaders?: boolean; headers: Request['headers']; req?: Omit; }; export type AuthResult = { permissions: SanitizedPermissions; responseHeaders?: Headers; user: null | TypedUser; }; export declare const auth: (args: Required) => Promise; //# sourceMappingURL=auth.d.ts.map