import { InjectionToken } from '@rxdi/core';
export declare const AUTH_MODULE_CONFIG: InjectionToken<unknown>;
export interface AuthInterface {
    onSubOperation(message: any, params: any, webSocket: any): unknown;
    onSubConnection(connectionParams: any): TokenData;
    validateToken(token: any, requestType: 'Query' | 'Subscription'): any;
}
export interface TokenData {
    email: string;
    scope: Array<string>;
    id: number;
}
export interface AuthModuleConfig {
    cert: unknown;
    algorithm: string;
    cyper: {
        algorithm: string;
        privateKey: string;
        iv: string;
    };
}
