import type { ContainerServiceClient } from "./containerServiceClient.js"; import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client"; import type { AbortSignalLike } from "@azure/abort-controller"; import type { PollerLike, OperationState } from "@azure/core-lro"; export interface RestorePollerOptions extends OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** * The signal which can be used to abort requests. */ abortSignal?: AbortSignalLike; /** Deserialization function for raw response body */ processResponseBody?: (result: TResponse) => Promise; } /** * Creates a poller from the serialized state of another poller. This can be * useful when you want to create pollers on a different host or a poller * needs to be constructed after the original one is not in scope. */ export declare function restorePoller(client: ContainerServiceClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike, TResult>, options?: RestorePollerOptions): PollerLike, TResult>; //# sourceMappingURL=restorePollerHelpers.d.ts.map