interface WatchRequest {
    id: number;
    token: any;
    cancel: () => void;
}
declare global {
    interface Window {
        __GPUSTACK_WATCH_REQUEST_CLEAR__: {
            watchIDValue: number;
            requestList: WatchRequest[];
        };
    }
}
export declare const updateWatchIDValue: () => number;
export declare const updateWatchRequest: (watchToken: WatchRequest) => void;
export declare const cancelWatchRequest: (n: number) => void;
export declare const clearWatchRequestId: (id: number) => void;
export {};
