import type { Payload, RequestContext } from '../../../index.js';
import type { GeneratedTypes } from '../../../index.js';
import type { PayloadRequest } from '../../../types/index.js';
import type { Result } from '../login.js';
export type Options<TSlug extends keyof GeneratedTypes['collections']> = {
    collection: TSlug;
    context?: RequestContext;
    data: {
        email: string;
        password: string;
    };
    depth?: number;
    fallbackLocale?: string;
    locale?: string;
    overrideAccess?: boolean;
    req?: PayloadRequest;
    showHiddenFields?: boolean;
};
declare function localLogin<TSlug extends keyof GeneratedTypes['collections']>(payload: Payload, options: Options<TSlug>): Promise<Result & {
    user: GeneratedTypes['collections'][TSlug];
}>;
export default localLogin;
//# sourceMappingURL=login.d.ts.map