import { BaseLifeCycle } from 'lifeCycle'; export interface RemoteSendData { passed: boolean; message?: string; res?: any; } export interface ButtonData { text: string; locked?: boolean; } export interface ViewData { message?: string; passed?: boolean; } export interface PhoneVerifyOption { remoteSend?: any; unit: any; initText: any; sendingText: any; successText: any; failText: any; successMessage: any; failMessage?: any; interval: any; } export interface CreateConfig extends BaseLifeCycle { bindButton?: any; beforeSend?: any; sended?: any; } export declare class PhoneVerify { locked: any; option: any; static init: (option: PhoneVerifyOption) => void; static addMode: (modeName: any, option: PhoneVerifyOption) => void; static removeMode: (modeName: any) => void; constructor(option: PhoneVerifyOption); createByMode: (modeName: any, config: CreateConfig) => (params: any) => any; create: (config: CreateConfig, option?: PhoneVerifyOption) => (params: any) => any; clearTimers: () => void; send: (params: any) => any; afterSend: (data: RemoteSendData) => void; setCountDown: () => { finish: () => void; pause: () => void; resume: () => void; }; }