import { type BlackboardClientDependencies } from './client.mts'; import type { FeedbackIdentity } from './feedback-types.mts'; import type { SnapshotChecksum, SnapshotCounts, SnapshotManifest, SnapshotSelection } from './snapshot-types.mts'; type ClientOptions = { env?: NodeJS.ProcessEnv; dependencies?: BlackboardClientDependencies; }; export type EnsureSessionOutcome = { sessionId: string; status: 'created' | 'exists'; archived: boolean; }; export type SnapshotExportOutcome = { path: string; counts: SnapshotCounts; checksum: SnapshotChecksum; manifest: SnapshotManifest; cleanupToken?: string; }; /** Idempotently creates the session; an existing session must match the supplied identity. */ export declare function ensureBlackboardSession(input: FeedbackIdentity & ClientOptions): Promise; /** Marks a session distilled. Metadata becomes immutable; entries stay appendable. */ export declare function archiveBlackboardSession(input: { sessionId: string; } & ClientOptions): Promise<{ sessionId: string; archived: true; }>; /** * Exports a snapshot into a private file the client generates. Callers cannot choose the * destination, so a long-lived process with credentials never writes to an agent-chosen path. */ export declare function exportSnapshot(input: { selection?: SnapshotSelection; } & ClientOptions): Promise; export {};