import type { GeneratedTypes } from '../../';
import type { Collection } from '../../collections/config/types';
import type { PayloadRequest } from '../../types';
import type { User } from '../types';
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").TypeWithID & Record<string, unknown>;
        [slug: number]: import("../../collections/config/types").TypeWithID & Record<string, unknown>;
        [slug: symbol]: import("../../collections/config/types").TypeWithID & Record<string, unknown>;
    }[TSlug];
}>;
//# sourceMappingURL=login.d.ts.map