import { Factor } from "../../types";
export interface FactorList {
    allOptions: Factor[];
    default: Factor | undefined;
}
export declare function authenticationMock(_flow: string, { userId }: {
    userId: string;
}): {
    state: {
        primaryUserId: string;
        challenge: false | FactorList;
        enrollment: false | FactorList;
        newlyRecordedMethods: string[];
    };
    build: <T>(api: T) => {
        challengeWith: (factor: Factor, options?: {
            additionalFactors?: Factor[];
        }) => void;
        challengeWithAny(factors: Factor[]): void;
        enrollWith: (factor: Factor, options?: {
            additionalFactors?: Factor[];
        }) => void;
        enrollWithAny(factors: Factor[]): void;
        setPrimaryUser: (primaryUserId: string) => void;
        recordMethod: (providerUrl: string) => T;
    };
};
//# sourceMappingURL=authentication.d.ts.map