import { EventBus, RequestContext } from '@vendure/core';
import { ISimpleAuthPluginOptions } from './interfaces';
import { SimpleAuthService } from './simple-auth.service';
export declare class RequestOneTimeCodeError {
    private message;
    private errorCode;
    readonly __typename = "RequestOneTimeCodeError";
    constructor(message: string, errorCode: string);
}
export declare class SimpleAuthResolver {
    private service;
    private eventBus;
    private pluginOptions;
    constructor(service: SimpleAuthService, eventBus: EventBus, pluginOptions: ISimpleAuthPluginOptions);
    requestOneTimeCode(ctx: RequestContext, email: string): Promise<RequestOneTimeCodeError | {
        __typename: string;
        value: string;
    }>;
}
