import { type CoseSigner } from "./cose-sign1.js";
import type { Receipt } from "../types.js";
export declare function receiptToCose(receipt: Receipt, signer: CoseSigner): Buffer;
export type CoseAttribution = "VERIFIED" | "UNAUTHORIZED" | "UNBOUND" | "UNAUTHENTICATED" | "FAILED" | "NOT_EVALUATED";
export interface ReceiptCoseResult {
    ok: boolean;
    kid: string | null;
    nativeKid: string | null;
    agentClaim: CoseAttribution;
    envelopeKid: string | null;
    envelopeClaim: CoseAttribution;
    receipt: Receipt | null;
    reason?: string;
    warnings: string[];
}
export declare function receiptFromCose(coseBytes: Uint8Array, keyringBytes: Uint8Array | string, identityManifestBytes?: Uint8Array | string): ReceiptCoseResult;
