import { z } from "zod"; /** Shared wire envelopes used by native clients and the Python schema exporter. */ export declare const ToolLearningRegistrationReceiptSchema: z.ZodObject<{ installation: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.toolLearningInstallation.v1">; id: z.ZodString; revision: z.ZodNumber; scope: z.ZodObject<{ teamId: z.ZodString; projectId: z.ZodString; }, z.core.$strict>; ownerUserId: z.ZodString; machineSourceId: z.ZodString; client: z.ZodEnum<{ claude_code: "claude_code"; codex: "codex"; opencode: "opencode"; openpond: "openpond"; }>; clientVersion: z.ZodString; adapterRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; pending_client_trust: "pending_client_trust"; revoked: "revoked"; }>; collectionPolicy: z.ZodObject<{ revision: z.ZodNumber; permittedTools: z.ZodArray; workspaceRootHashes: z.ZodArray; permittedFields: z.ZodArray>; unchangedControls: z.ZodObject<{ numerator: z.ZodNumber; denominator: z.ZodNumber; }, z.core.$strict>; maximumEventBytes: z.ZodNumber; maximumEpisodeBytes: z.ZodNumber; maximumEpisodeEvents: z.ZodNumber; maximumQueueBytes: z.ZodNumber; maximumQueueEvents: z.ZodNumber; maximumQueueAgeSeconds: z.ZodNumber; rawRetentionDays: z.ZodNumber; purposes: z.ZodArray>; modelUpdates: z.ZodLiteral<"requires_separate_review">; variantGeneration: z.ZodLiteral<"disabled">; }, z.core.$strict>; collectionPolicyHash: z.ZodString; coverage: z.ZodObject<{ receipt: z.ZodNullable>; start: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; resume: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; compaction: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; executionFailure: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; processFailure: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; validationFailure: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; nestedCalls: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; contextRefresh: z.ZodEnum<{ revision_aware_turn: "revision_aware_turn"; session_start: "session_start"; start_resume: "start_resume"; start_resume_compaction: "start_resume_compaction"; unqualified: "unqualified"; }>; gaps: z.ZodArray; }, z.core.$strict>; credential: z.ZodNullable; capabilities: z.ZodArray>; }, z.core.$strict>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; apiKey: z.ZodString; }, z.core.$strict>; export declare const ToolLearningInstallationPageSchema: z.ZodObject<{ items: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; scope: z.ZodObject<{ teamId: z.ZodString; projectId: z.ZodString; }, z.core.$strict>; ownerUserId: z.ZodString; machineSourceId: z.ZodString; client: z.ZodEnum<{ claude_code: "claude_code"; codex: "codex"; opencode: "opencode"; openpond: "openpond"; }>; clientVersion: z.ZodString; adapterRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ disabled: "disabled"; enabled: "enabled"; pending_client_trust: "pending_client_trust"; revoked: "revoked"; }>; collectionPolicy: z.ZodObject<{ revision: z.ZodNumber; permittedTools: z.ZodArray; workspaceRootHashes: z.ZodArray; permittedFields: z.ZodArray>; unchangedControls: z.ZodObject<{ numerator: z.ZodNumber; denominator: z.ZodNumber; }, z.core.$strict>; maximumEventBytes: z.ZodNumber; maximumEpisodeBytes: z.ZodNumber; maximumEpisodeEvents: z.ZodNumber; maximumQueueBytes: z.ZodNumber; maximumQueueEvents: z.ZodNumber; maximumQueueAgeSeconds: z.ZodNumber; rawRetentionDays: z.ZodNumber; purposes: z.ZodArray>; modelUpdates: z.ZodLiteral<"requires_separate_review">; variantGeneration: z.ZodLiteral<"disabled">; }, z.core.$strict>; collectionPolicyHash: z.ZodString; coverage: z.ZodObject<{ receipt: z.ZodNullable>; start: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; resume: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; compaction: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; executionFailure: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; processFailure: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; validationFailure: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; nestedCalls: z.ZodEnum<{ documented: "documented"; observed: "observed"; unqualified: "unqualified"; unsupported: "unsupported"; }>; contextRefresh: z.ZodEnum<{ revision_aware_turn: "revision_aware_turn"; session_start: "session_start"; start_resume: "start_resume"; start_resume_compaction: "start_resume_compaction"; unqualified: "unqualified"; }>; gaps: z.ZodArray; }, z.core.$strict>; credential: z.ZodNullable; capabilities: z.ZodArray>; }, z.core.$strict>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>; nextCursor: z.ZodNullable; }, z.core.$strict>; export declare const ToolLearningEpisodePageSchema: z.ZodObject<{ installationId: z.ZodString; scope: z.ZodObject<{ teamId: z.ZodString; projectId: z.ZodString; }, z.core.$strict>; items: z.ZodArray>; nextCursor: z.ZodNullable; learningEnrollment: z.ZodLiteral; }, z.core.$strict>; export declare const ToolLearningEpisodeDetailSchema: z.ZodObject<{ installationId: z.ZodString; episodeId: z.ZodString; scope: z.ZodObject<{ teamId: z.ZodString; projectId: z.ZodString; }, z.core.$strict>; events: z.ZodArray; operationId: z.ZodString; installationId: z.ZodString; episodeId: z.ZodString; eventId: z.ZodString; sessionId: z.ZodString; parentSessionId: z.ZodNullable; turnId: z.ZodNullable; callId: z.ZodString; occurredAt: z.ZodString; sequence: z.ZodNumber; adapterVersion: z.ZodString; sanitization: z.ZodObject<{ policyRevision: z.ZodNumber; policyHash: z.ZodString; redactedFields: z.ZodNumber; omittedFields: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; eventKind: z.ZodLiteral<"attempt">; payload: z.ZodObject<{ intent: z.ZodString; tool: z.ZodObject<{ name: z.ZodString; version: z.ZodNullable; server: z.ZodNullable; }, z.core.$strict>; action: z.ZodPreprocess; code: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodString; shell: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"tool_arguments">; arguments: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; patch: z.ZodString; baseFiles: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>], "kind">>; actionHash: z.ZodString; environment: z.ZodObject<{ application: z.ZodString; version: z.ZodString; state: z.ZodPreprocess>>; fingerprint: z.ZodString; }, z.core.$strict>; contextAssets: z.ZodArray; sizeBytes: z.ZodNumber; purpose: z.ZodEnum<{ action: "action"; result: "result"; state: "state"; verification: "verification"; }>; }, z.core.$strict>>; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"eligible_attempt">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"unchanged_control">; numerator: z.ZodNumber; denominator: z.ZodNumber; policyHash: z.ZodString; }, z.core.$strict>], "kind">; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.toolEpisodeEvent.v1">; operationId: z.ZodString; installationId: z.ZodString; episodeId: z.ZodString; eventId: z.ZodString; sessionId: z.ZodString; parentSessionId: z.ZodNullable; turnId: z.ZodNullable; callId: z.ZodString; occurredAt: z.ZodString; sequence: z.ZodNumber; adapterVersion: z.ZodString; sanitization: z.ZodObject<{ policyRevision: z.ZodNumber; policyHash: z.ZodString; redactedFields: z.ZodNumber; omittedFields: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; eventKind: z.ZodLiteral<"observation">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ attempt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; actionHash: z.ZodString; execution: z.ZodEnum<{ executed: "executed"; not_executed: "not_executed"; unknown: "unknown"; }>; sideEffects: z.ZodEnum<{ none: "none"; observed: "observed"; possible: "possible"; unknown: "unknown"; }>; resultExcerpt: z.ZodString; resultHash: z.ZodNullable; assets: z.ZodArray; sizeBytes: z.ZodNumber; purpose: z.ZodEnum<{ action: "action"; result: "result"; state: "state"; verification: "verification"; }>; }, z.core.$strict>>; outcome: z.ZodLiteral<"succeeded">; exitCode: z.ZodNullable>; }, z.core.$strict>, z.ZodObject<{ attempt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; actionHash: z.ZodString; execution: z.ZodEnum<{ executed: "executed"; not_executed: "not_executed"; unknown: "unknown"; }>; sideEffects: z.ZodEnum<{ none: "none"; observed: "observed"; possible: "possible"; unknown: "unknown"; }>; resultExcerpt: z.ZodString; resultHash: z.ZodNullable; assets: z.ZodArray; sizeBytes: z.ZodNumber; purpose: z.ZodEnum<{ action: "action"; result: "result"; state: "state"; verification: "verification"; }>; }, z.core.$strict>>; outcome: z.ZodLiteral<"failed">; classification: z.ZodEnum<{ authorization_denied: "authorization_denied"; cancelled: "cancelled"; execution_failure: "execution_failure"; infrastructure_failure: "infrastructure_failure"; outcome_failure: "outcome_failure"; process_failure: "process_failure"; timeout: "timeout"; unknown_failure: "unknown_failure"; validation_failure: "validation_failure"; }>; errorCode: z.ZodString; message: z.ZodString; exitCode: z.ZodNullable; }, z.core.$strict>, z.ZodObject<{ attempt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; actionHash: z.ZodString; execution: z.ZodEnum<{ executed: "executed"; not_executed: "not_executed"; unknown: "unknown"; }>; sideEffects: z.ZodEnum<{ none: "none"; observed: "observed"; possible: "possible"; unknown: "unknown"; }>; resultExcerpt: z.ZodString; resultHash: z.ZodNullable; assets: z.ZodArray; sizeBytes: z.ZodNumber; purpose: z.ZodEnum<{ action: "action"; result: "result"; state: "state"; verification: "verification"; }>; }, z.core.$strict>>; outcome: z.ZodLiteral<"incomplete">; reason: z.ZodEnum<{ completion_not_observed: "completion_not_observed"; coverage_gap: "coverage_gap"; observer_restarted: "observer_restarted"; transport_interrupted: "transport_interrupted"; }>; }, z.core.$strict>], "outcome">; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.toolEpisodeEvent.v1">; operationId: z.ZodString; installationId: z.ZodString; episodeId: z.ZodString; eventId: z.ZodString; sessionId: z.ZodString; parentSessionId: z.ZodNullable; turnId: z.ZodNullable; callId: z.ZodString; occurredAt: z.ZodString; sequence: z.ZodNumber; adapterVersion: z.ZodString; sanitization: z.ZodObject<{ policyRevision: z.ZodNumber; policyHash: z.ZodString; redactedFields: z.ZodNumber; omittedFields: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; eventKind: z.ZodLiteral<"recovery_link">; payload: z.ZodObject<{ failedAttempt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; failedObservation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; replacementAttempt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; goalId: z.ZodString; basis: z.ZodEnum<{ artifact_lineage: "artifact_lineage"; explicit_relation: "explicit_relation"; unverified: "unverified"; }>; attributionEvidence: z.ZodArray>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.toolEpisodeEvent.v1">; operationId: z.ZodString; installationId: z.ZodString; episodeId: z.ZodString; eventId: z.ZodString; sessionId: z.ZodString; parentSessionId: z.ZodNullable; turnId: z.ZodNullable; callId: z.ZodString; occurredAt: z.ZodString; sequence: z.ZodNumber; adapterVersion: z.ZodString; sanitization: z.ZodObject<{ policyRevision: z.ZodNumber; policyHash: z.ZodString; redactedFields: z.ZodNumber; omittedFields: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; eventKind: z.ZodLiteral<"verification">; payload: z.ZodObject<{ attempt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; actionHash: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; passed: "passed"; unknown: "unknown"; }>; verifierRelease: z.ZodNullable>; verifierReceipt: z.ZodNullable>; environmentFingerprint: z.ZodString; resetStateHash: z.ZodNullable; outputArtifacts: z.ZodArray; sizeBytes: z.ZodNumber; purpose: z.ZodEnum<{ action: "action"; result: "result"; state: "state"; verification: "verification"; }>; }, z.core.$strict>>; reason: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.toolEpisodeEvent.v1">; operationId: z.ZodString; installationId: z.ZodString; episodeId: z.ZodString; eventId: z.ZodString; sessionId: z.ZodString; parentSessionId: z.ZodNullable; turnId: z.ZodNullable; callId: z.ZodString; occurredAt: z.ZodString; sequence: z.ZodNumber; adapterVersion: z.ZodString; sanitization: z.ZodObject<{ policyRevision: z.ZodNumber; policyHash: z.ZodString; redactedFields: z.ZodNumber; omittedFields: z.ZodNumber; truncated: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; eventKind: z.ZodLiteral<"lineage">; payload: z.ZodObject<{ relation: z.ZodEnum<{ fork: "fork"; reopen: "reopen"; split: "split"; }>; parentEpisode: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; parentSessionId: z.ZodString; reason: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "eventKind">>>; state: z.ZodEnum<{ ambiguous: "ambiguous"; awaiting_owner_review: "awaiting_owner_review"; incomplete: "incomplete"; }>; assembly: z.ZodObject<{ state: z.ZodEnum<{ ambiguous: "ambiguous"; awaiting_owner_review: "awaiting_owner_review"; incomplete: "incomplete"; }>; issues: z.ZodArray>; groups: z.ZodArray; server: z.ZodNullable; }, z.core.$strict>; environmentFingerprints: z.ZodArray; attempts: z.ZodArray>; }, z.core.$strict>>; }, z.core.$strict>; verificationAuthority: z.ZodLiteral<"not_granted">; learningEnrollment: z.ZodLiteral; }, z.core.$strict>; export declare const ToolLearningPurgeRequestSchema: z.ZodObject<{ operationId: z.ZodString; expectedRevision: z.ZodNumber; }, z.core.$strict>; export declare const ToolLearningPurgeReceiptSchema: z.ZodObject<{ installationId: z.ZodString; operationId: z.ZodString; purgedEvents: z.ZodNumber; learningEnrollment: z.ZodLiteral; }, z.core.$strict>; //# sourceMappingURL=tool-learning-responses.d.ts.map