import type { GeneratedTypes } from '../../index.js';
import type { PayloadRequest } from '../../types/index.js';
import type { Permissions } from '../types.js';
export type AuthArgs = {
    headers: Request['headers'];
    req?: Omit<PayloadRequest, 'user'>;
};
export type AuthResult = {
    cookies: Map<string, string>;
    permissions: Permissions;
    user: GeneratedTypes['user'] | null;
};
export declare const auth: (args: Required<AuthArgs>) => Promise<AuthResult>;
//# sourceMappingURL=auth.d.ts.map