//#region src/utils/poll.d.ts type PollOptions = { emitOnBegin?: boolean | undefined; initialWaitTime?: ((data: T | undefined) => Promise) | undefined; interval: number; }; /** * @description Polls a function at a specified interval. */ declare function poll(fn: ({ unpoll }: { unpoll: () => void; }) => Promise, { emitOnBegin, initialWaitTime, interval }: PollOptions): () => void; //#endregion export { poll }; //# sourceMappingURL=poll.d.ts.map