import type { GetUpdatesResponse } from './types.js'; interface PollOptions { getUpdates(buffer: string, timeoutMs: number, signal: AbortSignal): Promise; receive(response: GetUpdatesResponse): void; state(value: { status: 'starting' | 'running'; lastError?: string; }): void; wait?: (ms: number, signal: AbortSignal) => Promise; } /** Polling retries do not replay agent work or resend outgoing messages. */ export declare function pollWeixin(signal: AbortSignal, options: PollOptions): Promise; export {}; //# sourceMappingURL=poll.d.ts.map