import { z } from "zod"; /** Host-only, organization-bound read. Neither a credential-export API nor an * MCP tool. The native session and original operation come from host admission. */ export declare const sidekickEvidenceRequestSchema: z.ZodObject<{ sessionId: z.ZodUUID; operationId: z.ZodUUID; attemptId: z.ZodUUID; generation: z.ZodString; resultDigest: z.ZodPreprocess>; }, z.core.$strict>; export type SidekickEvidenceRequest = z.infer; declare const unknown: z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>; export type SidekickUnknownEvidence = z.infer; /** Each quantity has its own knownness. Attribution retention can remove * tokens/provider costs without erasing the durable commercial settlement. */ export declare const sidekickEvidenceSchema: z.ZodObject<{ protocolVersion: z.ZodLiteral<1>; scope: z.ZodObject<{ organizationId: z.ZodString; userId: z.ZodString; membershipId: z.ZodString; sessionId: z.ZodUUID; operationId: z.ZodUUID; }, z.core.$strict>; delegationId: z.ZodUUID; attemptId: z.ZodUUID; generation: z.ZodString; attemptNumber: z.ZodNumber; resultDigest: z.ZodNullable; repository: z.ZodString; repositoryId: z.ZodString; baseCommitSha: z.ZodString; model: z.ZodString; originalBudget: z.ZodObject<{ maxProviderCalls: z.ZodNumber; wallTimeMs: z.ZodNumber; maxCostMicrousd: z.ZodNumber; }, z.core.$strict>; currentBudgetMaximumMicrousd: z.ZodNullable; budgetStatus: z.ZodEnum<{ pending: "pending"; settled: "settled"; released: "released"; reserved: "reserved"; }>; state: z.ZodEnum<{ failed: "failed"; queued: "queued"; running: "running"; succeeded: "succeeded"; cancelled: "cancelled"; timed_out: "timed_out"; awaiting_review: "awaiting_review"; taken_over: "taken_over"; discarded: "discarded"; expired: "expired"; }>; cleanup: z.ZodEnum<{ error: "error"; complete: "complete"; running: "running"; pending: "pending"; }>; execution: z.ZodNullable>; createdAt: z.ZodISODateTime; hardDeadlineAt: z.ZodISODateTime; observedAt: z.ZodISODateTime; currentAttempt: z.ZodObject<{ settlement: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; reservationId: z.ZodUUID; maximumMicrousd: z.ZodNumber; status: z.ZodEnum<{ settled: "settled"; released: "released"; }>; quantityMicrousd: z.ZodNumber; billingState: z.ZodEnum<{ internal_only: "internal_only"; billable: "billable"; included: "included"; written_off: "written_off"; }>; priceBookRevision: z.ZodString; evidenceRef: z.ZodNullable; }, z.core.$strict>], "kind">; ledger: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; requests: z.ZodNumber; calls: z.ZodNumber; quantityMicrousd: z.ZodNumber; }, z.core.$strict>], "kind">; usage: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; }, z.core.$strict>], "kind">; providerAccountingCost: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; quantityMicrousd: z.ZodNumber; }, z.core.$strict>], "kind">; providerCash: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; quantityMicrousd: z.ZodNumber; }, z.core.$strict>], "kind">; physicalCleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; status: z.ZodLiteral<"complete">; tasks: z.ZodNumber; notRequired: z.ZodBoolean; }, z.core.$strict>], "kind">; }, z.core.$strict>; lifetime: z.ZodObject<{ settlement: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; quantityMicrousd: z.ZodNumber; attempts: z.ZodArray; reservationId: z.ZodUUID; status: z.ZodEnum<{ settled: "settled"; released: "released"; }>; quantityMicrousd: z.ZodNumber; evidenceRef: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>], "kind">; ledger: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; requests: z.ZodNumber; calls: z.ZodNumber; quantityMicrousd: z.ZodNumber; }, z.core.$strict>], "kind">; usage: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; }, z.core.$strict>], "kind">; providerAccountingCost: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; quantityMicrousd: z.ZodNumber; }, z.core.$strict>], "kind">; providerCash: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; quantityMicrousd: z.ZodNumber; }, z.core.$strict>], "kind">; physicalCleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"unknown">; reason: z.ZodEnum<{ pending: "pending"; missing: "missing"; incomplete: "incomplete"; mismatch: "mismatch"; retained_usage_missing: "retained_usage_missing"; unverified_prior_attempt: "unverified_prior_attempt"; }>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"known">; status: z.ZodLiteral<"complete">; tasks: z.ZodNumber; notRequired: z.ZodBoolean; }, z.core.$strict>], "kind">; }, z.core.$strict>; }, z.core.$strict>; export type SidekickEvidence = z.infer; export type SidekickAttemptEvidence = SidekickEvidence["currentAttempt"]; export {};