class CancelablePromise implements Promise<T>import { CancelablePromise } from "https://dotland.deno.dev/x/windmill@v1.415.2/windmill-api/index.ts"; ConstructorsnewCancelablePromise(executor: (resolve: (value: T | PromiseLike<T>) => void,reject: (reason?: any) => void,onCancel: OnCancel,) => void)Type ParametersTPropertiesprivatereadonly_cancelHandlers: (() => void)[]private_isCancelled: booleanprivate_isRejected: booleanprivate_isResolved: booleanprivatereadonly_promise: Promise<T>privateoptional_reject: (reason?: any) => voidprivateoptional_resolve: (value: T | PromiseLike<T>) => voidreadonlyisCancelled: booleanreadonly[Symbol.toStringTag]: stringMethodscancel(): voidcatch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>finally(onFinally?: (() => void) | null): Promise<T>then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>