import { type ProtocolEnvelope } from './contract.js'; export declare const ATTACHMENT_RECEIPT_DOMAIN: "borgmcp.attach-receipt.v1\0"; export declare const ATTACHMENT_RETIRED_MESSAGE: "Attachment has been retired."; export declare const ATTACHMENT_FINALIZED_MESSAGE: "Finalized attachments cannot be retired by pending-attachment recovery."; export declare function deriveAttachmentReceipt(sessionCredential: string): Promise; export type ReconcileAttachmentAction = 'inspect' | 'finalize' | 'retire'; export interface ReconcileAttachmentRequest { receipt: string; cube_id: string; role_id: string; action: ReconcileAttachmentAction; prior_drone_id?: string; } export type ReconcileAttachmentResponse = { disposition: 'absent'; } | { disposition: 'accepted' | 'finalized'; drone_id: string; session_id: string; } | { disposition: 'retired'; }; export declare function decodeAttachmentReceipt(value: unknown): string; export declare function decodeReconcileAttachmentRequest(value: unknown): ReconcileAttachmentRequest; export declare function decodeReconcileAttachmentResponse(value: unknown, action: ReconcileAttachmentAction): ReconcileAttachmentResponse; export declare function decodeReconcileAttachmentRequestEnvelope(value: unknown): ProtocolEnvelope; export declare function decodeReconcileAttachmentResponseEnvelope(value: unknown, action: ReconcileAttachmentAction): ProtocolEnvelope; //# sourceMappingURL=attachment.d.ts.map