import type { SettlementRecord } from './types.js';
/** Produce the canonical byte string a verifier signs/recomputes. The
 *  `signature` field is omitted (the canonicalizer already drops
 *  undefined keys, but we strip explicitly for clarity across ports). */
export declare function settlementSigningPayload(record: Omit<SettlementRecord, 'signature'>): string;
/** Canonical settlement_record_hash — hex sha256 of the signing payload.
 *  Stable across Python/TS so verifiers can short-circuit signature
 *  checks to a single 32-byte commitment. */
export declare function settlementRecordHash(record: Omit<SettlementRecord, 'signature'>): string;
/** Sign a settlement record. Returns the hex signature. Callers assemble
 *  the full `SettlementRecord` by writing the signature into the record. */
export declare function signSettlementRecord(record: Omit<SettlementRecord, 'signature'>, gatewayPrivateKeyHex: string): string;
/** Verify just the Ed25519 signature on a settlement record. Returns a
 *  boolean; for full S1–S5 verification use `verifySettlementRecord`. */
export declare function verifySettlementSignature(record: SettlementRecord, gatewayPublicKeyHex: string): boolean;
//# sourceMappingURL=sign.d.ts.map