import type { SessionProvider } from "./types.js"; /** Claude session IDs and Codex thread IDs are UUID-shaped identifiers. */ export declare function isProviderSessionId(value: unknown): value is string; /** * Provider-native IDs are not uniformly UUIDs: OpenCode uses `ses_*` and * older Qoder releases also emitted `qs_*`. Keep the accepted alphabet shell * inert before an ID is interpolated into a PTY command. */ export declare function isSafeProviderSessionId(value: unknown): value is string; export declare function getProviderResumeCommandSessionId(provider: SessionProvider, command: string): string | null; /** Read either a resume ID or a caller-assigned ID from a provider command. */ export declare function getProviderCommandSessionId(provider: SessionProvider, command: string): string | null; /** Build the interactive resume command used by PTY sessions. */ export declare function buildProviderResumeCommand(provider: SessionProvider, command: string, providerSessionId: string): string;