export interface A2AToolResultSummary { tool: string; result: string; isError?: boolean; completedSideEffect?: boolean; } export interface A2AArtifactResponseOptions { baseUrl?: string; includeReferencedArtifacts?: boolean; includePersistedArtifactMarker?: boolean; persistedArtifactSecret?: string; } export interface GuardedA2AArtifactResponse { text: string; rejectedUnverifiedArtifactReferences: boolean; } export interface A2AArtifactIdentityOptions { persistedArtifactSecrets?: readonly string[]; } export interface A2AArtifactIdentity { resourceType: "document" | "deck" | "dashboard" | "analysis" | "image" | "design" | "monitor" | "form"; id: string; sourceAction: string; titleAtAction?: string; url?: string; } export declare function stripA2APersistedArtifactMarkers(text: string): string; /** * Extract a compact, verified identity ledger from successful artifact tools. * The ledger deliberately excludes raw tool results so it is safe to retain in * long-lived thread context and stable even when a resource is later renamed. */ export declare function extractA2AArtifactIdentities(results: A2AToolResultSummary[], options?: A2AArtifactIdentityOptions): A2AArtifactIdentity[]; export declare function guardA2AArtifactResponse(responseText: string, toolResults: A2AToolResultSummary[], options?: A2AArtifactResponseOptions): GuardedA2AArtifactResponse; export declare function appendA2AArtifactLinks(responseText: string, toolResults: A2AToolResultSummary[], options?: A2AArtifactResponseOptions): string; export declare function buildA2ARecoverableArtifactMessage(toolResults: A2AToolResultSummary[], options?: A2AArtifactResponseOptions): string | null; /** * Build a bounded participant-facing receipt from authenticated artifact writes. * Unlike generic artifact recovery, this only trusts identities extracted from * successful write actions (or a signed downstream write ledger), so a read or * an unverified URL cannot be rounded up to a successful mutation. */ export declare function buildA2AVerifiedMutationReceipt(toolResults: A2AToolResultSummary[], options?: A2AArtifactResponseOptions): string | null; //# sourceMappingURL=artifact-response.d.ts.map