import { BridgeCallbackResult } from './invoker';
interface SubscribeResult {
    data: {
        ACTION: number;
        COUNT: number;
        TOP: number;
        LEFT: number;
        HEIGHT: number;
        WIDTH: number;
    };
}
interface SubscribeParams {
    channel: string;
    onSuccess?: (res: SubscribeResult) => void;
    onFail?: (res: BridgeCallbackResult<SubscribeResult>) => void;
}
declare function subscribe(params: SubscribeParams): Promise<{}>;
declare namespace subscribe {
    var version: {
        android: string;
        ios: string;
    };
}
export default subscribe;
