export interface ForwardFollowupSeed { larkAppId: string; chatId: string; senderOpenId: string; messageId: string; payload: T; flush: (payload: T) => void | Promise; } export interface ForwardFollowupMatch { larkAppId: string; chatId: string; senderOpenId: string; rootId: string; } /** In-memory grace window for a forwarded topic's immediate clarification. */ export declare class ForwardFollowupBuffer { private readonly waitMs; private readonly onFlushError; private readonly pending; constructor(waitMs: number, onFlushError?: (error: unknown) => void); get size(): number; hold(seed: ForwardFollowupSeed, waitMs?: number): boolean; take(match: ForwardFollowupMatch): ForwardFollowupSeed | undefined; clear(): void; } //# sourceMappingURL=forward-followup-buffer.d.ts.map