import { n as ClaudeSessionCatalogPage } from "../../session-catalog-types-B0_Kzb2g.js";
//#region extensions/anthropic/session-catalog-parsing.d.ts
export declare const MAX_PAGE_LIMIT = 100;
export declare const DEFAULT_TRANSCRIPT_LIMIT = 20;
export declare const MAX_TRANSCRIPT_LIMIT = 50;
export declare const MAX_HOSTS = 100;
export declare function encodeOffset(offset: number): string;
export declare function decodeOffset(cursor: string | undefined, label: string): number;
export declare function readOptionalCursor(value: unknown, label: string): string | undefined;
export declare function readListParams(value: unknown): {
  cursor?: string;
  limit: number;
  searchTerm?: string;
};
export declare function readTranscriptParams(value: unknown, options?: {
  includeHostId?: boolean;
}): {
  threadId: string;
  cursor?: string;
  limit: number;
};
export declare function readNodePageCursor(value: Record<string, unknown>, invalidPageMessage: string): string | undefined;
export declare function parseCatalogPage(value: unknown): ClaudeSessionCatalogPage;
export declare function unwrapNodePayload(value: unknown): unknown;
export declare function parseGatewayQuery(value: unknown): {
  search?: string;
  limitPerHost: number;
  hostIds?: string[];
  cursors?: Record<string, string>;
};
//#endregion