import { Pin, PinEvent } from '../Pin';
import { GlobalRefSpec } from '../types/GlobalRefSpec';
import { $_ } from '../types/interface/$_';
import { Moment } from './Moment';
import { PinType } from './PinType';
export interface RefPinMomentData {
    pinId: string;
    type: string;
    data: GlobalRefSpec | string;
}
export interface RefPinMoment extends Moment<RefPinMomentData> {
}
export declare function specGlobalRef(_data: $_): GlobalRefSpec;
export declare function watchRefPinEvent(event: PinEvent, type: 'ref_input' | 'ref_output', pinType: PinType, pinId: string, pin: Pin<any>, callback: (moment: RefPinMoment) => void): () => void;
