import { DeviceIdParameter, IoptionsParams } from '../../../types';
import { PaymentContext, SDKMetaData, Service } from '../../index';
import { Security } from './security';
export declare class SecurityService implements Service {
    private logger;
    private productScene;
    static securitySdkMap: Map<string, Security>;
    init(initOptions: IoptionsParams, instanceId: string, sdkMetaData: SDKMetaData): void;
    update(paymentContext: PaymentContext): void;
    destroy(): void;
    getDeviceId(deviceIdParameter?: DeviceIdParameter, isPolling?: boolean): Promise<string>;
    preInitSecurity(timeout?: number): Promise<void>;
    initSecurity(timeout?: number): Promise<void>;
    private _initSecurity;
    private logDeviceId;
    /**
     * @description Obtain security SDK through scenario identification
     */
    private _getSecuritySDKByProductScene;
    /**
     * @description New security SDK through scenario identification
     */
    private _newSecuritySDKByScene;
    /**
     * @description Obtain risk control configuration in local storage
     */
    private _getSecurityConfigStorage;
}
