/**
 * Add APS namespace prefix to a proof/receipt ID.
 * `drv_abc123` → `aps:drv_abc123`
 */
export declare function namespaceProofId(id: string): string;
/**
 * Parse a namespaced proof ID into namespace + bare ID.
 * `aps:drv_abc123` → { namespace: 'aps', id: 'drv_abc123' }
 * `did:arkforge:prf_xyz` → { namespace: 'did:arkforge', id: 'prf_xyz' }
 * `bare_id` → { namespace: null, id: 'bare_id' }
 */
export declare function parseNamespacedId(namespacedId: string): {
    namespace: string | null;
    id: string;
    issuer?: string;
};
export declare function resolveProofUrl(namespacedId: string, resolverRegistry?: Record<string, string>): string | null;
/** Minimum Rekor anchor payload (4 fields, per cross-issuer resolution spec) */
export interface RekorAnchorPayload {
    /** SHA-256 hash of the canonicalized receipt body */
    receipt_hash: string;
    /** Agent DID who produced the receipt */
    agent_did: string;
    /** Issuer URL (gateway that signed the receipt) */
    issuer: string;
    /** When the receipt was anchored */
    anchored_at: string;
}
/** Result of a Rekor submission */
export interface RekorAnchorResult {
    /** Rekor transparency log index */
    logIndex: number;
    /** Rekor entry UUID */
    entryUUID: string;
    /** Inclusion proof from the Merkle tree */
    inclusionProof?: {
        treeSize: number;
        rootHash: string;
        hashes: string[];
        logIndex: number;
    };
    /** The payload that was anchored */
    payload: RekorAnchorPayload;
    /** Whether the anchor was verified against the log */
    verified: boolean;
}
/** Verification result when checking a Rekor anchor */
export interface RekorVerificationResult {
    /** Whether the anchor entry exists in Rekor */
    found: boolean;
    /** Whether the receipt hash matches the anchored hash */
    hashMatch: boolean;
    /** Whether the inclusion proof is valid */
    proofValid: boolean;
    /** The anchored timestamp (independent of the issuer) */
    anchoredAt?: string;
    /** Errors */
    errors: string[];
}
/**
 * Create a Rekor anchor payload from a receipt hash.
 * This is the 4-field payload that gets submitted to the transparency log.
 * The caller computes the receipt hash (sha256 of canonicalized body).
 */
export declare function createRekorAnchorPayload(input: {
    /** Pre-computed SHA-256 hash of the receipt body (e.g. "sha256:abc123") */
    receiptHash: string;
    agentDid: string;
    issuer: string;
}): RekorAnchorPayload;
//# sourceMappingURL=proof-namespace.d.ts.map