/**
 * 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<T>(requestFn: () => Promise<T>, validationFn: (resp: T) => boolean, options?: {
    maxAttempts?: number;
    initialRetryDelay?: number;
}): Promise<T>;
