import type { Collection } from '../../collections/config/types.js';
import type { GeneratedTypes } from '../../index.js';
import type { PayloadRequest } from '../../types/index.js';
import type { User } from '../types.js';
export type Result = {
    exp?: number;
    token?: string;
    user?: User;
};
export type Arguments = {
    collection: Collection;
    data: {
        email: string;
        password: string;
    };
    depth?: number;
    overrideAccess?: boolean;
    req: PayloadRequest;
    showHiddenFields?: boolean;
};
export declare const loginOperation: <TSlug extends string | number | symbol>(incomingArgs: Arguments) => Promise<Result & {
    user: {
        [slug: string]: import("../../collections/config/types.js").TypeWithID & Record<string, unknown>;
        [slug: number]: import("../../collections/config/types.js").TypeWithID & Record<string, unknown>;
        [slug: symbol]: import("../../collections/config/types.js").TypeWithID & Record<string, unknown>;
    }[TSlug];
}>;
//# sourceMappingURL=login.d.ts.map