/** Result of a range retrieval. */ export type CaptureRangeResult = { readonly ok: true; readonly lines: readonly string[]; readonly totalLines: number; } | { readonly ok: false; readonly error: string; }; /** * Registry of opaque capture handles. * * Maps UUIDs to capture content. Handles are session-scoped — a * handle from one session is rejected in another. */ export declare class CaptureHandleRegistry { private nextId; private readonly entries; /** * Register capture content and return an opaque handle. */ register(sessionId: string, content: string): string; /** * Retrieve a line range from a capture handle. * * @param handle - The opaque handle from register() * @param sessionId - The requesting session (must match the registering session) * @param start - 1-based start line (inclusive) * @param end - 1-based end line (inclusive) */ getRange(handle: string, sessionId: string, start: number, end: number): CaptureRangeResult; } //# sourceMappingURL=capture-range.d.ts.map