import type { LarkMessage } from '../types.js'; export declare function ensureQueue(rootMessageId: string): void; export declare function appendMessage(rootMessageId: string, message: LarkMessage): void; /** Reset offset to re-read all messages from a given byte position (0 = beginning). */ export declare function rewindOffset(rootMessageId: string, to?: number): void; /** Return the current read offset (byte position) without advancing it. */ export declare function getOffset(rootMessageId: string): number; export declare function readUnread(rootMessageId: string): LarkMessage[]; //# sourceMappingURL=message-queue.d.ts.map