import type { HybridTimestamp } from '../../types/time.js'; import type { AgentDID, AttributionReceipt, ContextID, PrincipalDID } from './types.js'; /** The canonical unsigned core of a receipt. Both citer and cited principal * sign exactly this payload, and the receipt id is sha256(core). */ export declare function receiptCore(receipt: AttributionReceipt | Omit): string; export interface CreateAttributionReceiptParams { citer: AgentDID; citer_public_key: string; citer_private_key: string; cited_principal: PrincipalDID; cited_principal_public_key: string; citation_content: string; binding_context: ContextID; created_at: HybridTimestamp; expires_at: HybridTimestamp; } /** Build an AttributionReceipt signed by the citer. The cited principal's * consent signature is still absent — verifyAttributionConsent() will * reject this receipt until signAttributionConsent() runs. */ export declare function createAttributionReceipt(params: CreateAttributionReceiptParams): AttributionReceipt; //# sourceMappingURL=create.d.ts.map