import { ReplaySubject } from 'rxjs';
import { TwoFactorEventContext } from './two-factor-types';
type TwoFactorSsoEventCallback = (event: Partial<TwoFactorEventContext>) => Promise<void>;
export declare class TwoFactorEventsService {
    private logger;
    private twoFactorEventStream$;
    private twoFactorEventCallbacks;
    private id;
    send(event: Partial<TwoFactorEventContext>): Promise<void>;
    listen(twoFactorEventCallback?: TwoFactorSsoEventCallback): ReplaySubject<Partial<TwoFactorEventContext>> | null;
}
export {};
