type FieldDescriptorLike = {
    fieldId?: string;
    item?: {
        id?: string;
        language?: string;
        version?: number;
        name?: string;
        displayName?: string;
        path?: string;
        database?: string;
    };
};
type FieldLike = {
    id?: string;
    name?: string;
    type?: string;
    value?: unknown;
    rawValue?: unknown;
    descriptor?: FieldDescriptorLike;
};
export declare function isFieldValueDebugEnabled(): boolean;
export declare function logFieldValueDiagnostic(stage: string, message: string, details?: Record<string, unknown>): void;
export declare function summarizeFieldDescriptor(descriptor: FieldDescriptorLike | undefined): {
    fieldId: string | undefined;
    itemId: string | undefined;
    language: string | undefined;
    version: number | undefined;
    itemName: string | undefined;
    path: string | undefined;
    database: string | undefined;
} | undefined;
export declare function summarizeField(field: FieldLike | undefined): {
    id: string | undefined;
    name: string | undefined;
    type: string | undefined;
    descriptor: {
        fieldId: string | undefined;
        itemId: string | undefined;
        language: string | undefined;
        version: number | undefined;
        itemName: string | undefined;
        path: string | undefined;
        database: string | undefined;
    } | undefined;
    value: {
        kind: string;
        length: number;
        normalizedLength: number;
        trimmedLength: number;
        isEmpty: boolean;
        isBlank: boolean;
        zeroWidthCount: number;
        hash: string;
        preview: string;
    };
    rawValue: {
        kind: string;
        length: number;
        normalizedLength: number;
        trimmedLength: number;
        isEmpty: boolean;
        isBlank: boolean;
        zeroWidthCount: number;
        hash: string;
        preview: string;
    };
} | undefined;
export declare function summarizeFieldValue(value: unknown, previewLength?: number): {
    kind: string;
    length: number;
    normalizedLength: number;
    trimmedLength: number;
    isEmpty: boolean;
    isBlank: boolean;
    zeroWidthCount: number;
    hash: string;
    preview: string;
};
export {};
