import type { ErrorLog, ErrorLogCompact, ErrorLogSummary, ResponseFormat } from '../types.js';
export interface ApplyResponseFormatResult<T> {
    items: T[];
    truncated: boolean;
}
export declare function applyResponseFormat(items: ErrorLog[], format: ResponseFormat): ApplyResponseFormatResult<ErrorLog | ErrorLogCompact | ErrorLogSummary>;
/**
 * Сокращает поля одного ErrorLog (для get_log_details при compact-format).
 */
export declare function applyResponseFormatSingle(row: ErrorLog, format: 'compact' | 'full'): {
    log: ErrorLog | ErrorLogCompact;
    truncated: boolean;
};
//# sourceMappingURL=responseFormat.d.ts.map