import { UnitGetGlobalIdData, UnitGetInputDataData, UnitGetPinDataData, UnitGetRefInputDataData, UnitGetUnitBundleSpecData, UnitPauseData, UnitPlayData, UnitPullInputData, UnitPushData, UnitRemovePinDataData, UnitResetData, UnitSetPinDataData, UnitTakeInputData } from '../../../Class/Unit/interface';
import { Callback } from '../../Callback';
import { Dict } from '../../Dict';
import { GlobalRefSpec } from '../../GlobalRefSpec';
import { UnitBundleSpec } from '../../UnitBundleSpec';
import { Unlisten } from '../../Unlisten';
export declare const U_METHOD_CALL: string[];
export declare const U_METHOD_WATCH: string[];
export declare const U_METHOD_REF: string[];
export declare const U_METHOD: string[];
export interface $U_C {
    $getGlobalId(data: UnitGetGlobalIdData, callback: Callback<string>): void;
    $play(data: UnitPlayData): void;
    $pause(data: UnitPauseData): void;
    $paused(data: UnitPauseData, callback: Callback<boolean>): void;
    $push({ pinId, data }: UnitPushData): void;
    $pullInput({ pinId }: UnitPullInputData): void;
    $takeInput({ pinId }: UnitTakeInputData): void;
    $setPinData({ pinId, type, data }: UnitSetPinDataData): any;
    $removePinData({ type, pinId }: UnitRemovePinDataData): any;
    $getPinData(data: UnitGetPinDataData, callback: (data: {
        input: Dict<any>;
        output: Dict<any>;
    }) => void): void;
    $getInputData({}: UnitGetInputDataData, callback: (data: Dict<any>) => void): void;
    $getRefInputData({}: UnitGetRefInputDataData, callback: (data: Dict<GlobalRefSpec>) => void): void;
    $getUnitBundleSpec({}: UnitGetUnitBundleSpecData, callback: (data: UnitBundleSpec) => void): void;
    $reset(data: UnitResetData): void;
}
export interface $U_W {
    $watch(data: {
        events: string[];
    }, callback: (moment: any) => void): Unlisten;
}
export interface $U_R {
    $refGlobalObj(data: {
        globalId: string;
    }): $U;
}
export interface $U extends $U_C, $U_W, $U_R {
}
