import { type ListMedia } from "../resources/PageResource.js"; import { type GetMedia } from "../resources/PostResource.js"; import { type InstagramContainer } from "../types/instagram.js"; import { type BatchableRequest } from "../types/shared.js"; interface PollConfig { maxAttempts?: number; intervalMs?: number; } export declare function poll(fn: (...args: TArgs) => Promise, config?: PollConfig): (...args: TArgs) => Promise; export declare const pollVideoStatus: (listVideos: ListMedia, trackingId: string) => Promise<{ postId: string; }>; export declare const pollReelStatus: (getReel: GetMedia) => Promise<{ postId: string; }>; export type GetContainerStatus = (id: string) => BatchableRequest; export declare const pollContainerStatus: (getStatus: GetContainerStatus, containerId: string) => Promise<{ containerId: string; }>; export {}; //# sourceMappingURL=poller.d.ts.map