/**
 * Default codec implementation for domain services.
 *
 * Provides canonical CBOR encoding/decoding using cbor-x directly,
 * avoiding concrete adapter imports from the infrastructure layer.
 *
 * Keys are recursively sorted before encoding for deterministic output,
 * which is critical for content-addressed storage (Git SHA matching).
 *
 * @module domain/utils/defaultCodec
 */
import CodecPort from '../../ports/CodecPort.ts';
import type CodecValue from '../types/codec/CodecValue.ts';
/**
 * Default CBOR codec used by domain services that receive no codec
 * override. Delegates encoding to cbor-x with canonical key ordering.
 */
declare class DefaultCodec extends CodecPort {
    encode<TEncoded = CodecValue>(data: TEncoded): Uint8Array;
    decode<TDecoded = CodecValue>(buffer: Uint8Array): TDecoded;
}
declare const defaultCodec: DefaultCodec;
export default defaultCodec;
