import type { PollerLike, OperationState, ResourceLocationConfig } from "@azure/core-lro"; import type { Client, PathUncheckedResponse } from "@azure-rest/core-client"; import type { AbortSignalLike } from "@azure/abort-controller"; export interface GetLongRunningPollerOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** * The signal which can be used to abort requests. */ abortSignal?: AbortSignalLike; /** * The potential location of the result of the LRO if specified by the LRO extension in the swagger. */ resourceLocationConfig?: ResourceLocationConfig; /** * The original url of the LRO * Should not be null when restoreFrom is set */ initialRequestUrl?: string; /** * A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ restoreFrom?: string; /** * The function to get the initial response */ getInitialResponse?: () => PromiseLike; /** * The api-version of the LRO */ apiVersion?: string; } export declare function getLongRunningPoller(client: Client, processResponseBody: (result: TResponse) => Promise, expectedStatuses: string[], options: GetLongRunningPollerOptions): PollerLike, TResult>; //# sourceMappingURL=pollingHelpers.d.ts.map