import { TextMutationReceipt, TextMutationRange, SDMutationReceipt, SelectionTarget, MutationResolutionTarget } from './types/index.js'; /** * Wraps a TextMutationReceipt into an SDMutationReceipt at the public API boundary. * * - Success/failure semantics are preserved. * - Resolution is passed through directly (both use TextAddress). * - Failure codes from the text pipeline are mapped to SDErrorCode. */ export declare function textReceiptToSDReceipt(receipt: TextMutationReceipt): SDMutationReceipt; /** Parameters for building a structural mutation receipt. */ export interface StructuralReceiptParams { target: MutationResolutionTarget; range: TextMutationRange; selectionTarget?: SelectionTarget; } /** * Builds an SDMutationReceipt for structural (block-level) mutations. * * Unlike {@link textReceiptToSDReceipt} which converts from the internal * text pipeline, this constructs a receipt directly: preserving the * original `BlockNodeAddress` target instead of normalizing it to a * synthetic `TextAddress`. */ export declare function buildStructuralReceipt(success: true, params: StructuralReceiptParams): SDMutationReceipt; export declare function buildStructuralReceipt(success: false, params: StructuralReceiptParams, failure: { code: string; message: string; }): SDMutationReceipt; //# sourceMappingURL=receipt-bridge.d.ts.map