/** * Function to poll a provided request until a validation * state or timeout is reached * * NOTE: we expose this as a public util, but should use this * functionality sparingly when dealing with the Portal API. * Best practice is to leverage this polling functionality * internally on functions that we know incur a Portal delay. * * @param requestFn * @param validationFn * @param opts */ export declare function poll(requestFn: () => Promise, validationFn: (resp: T) => boolean, options?: { maxAttempts?: number; initialRetryDelay?: number; }): Promise;