import type { Payload, RequestContext } from '../../..';
import type { GeneratedTypes } from '../../../index';
import type { PayloadRequest } from '../../../types';
import type { Result } from '../login';
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