import { QueryResult, QueryError, FileExecutionSummary, AdminProject } from '../types/index.js'; import { FileExecutionResult } from './file-executor.js'; export declare class ResultFormatter { private static readonly MAX_COLUMN_WIDTH; private static readonly MAX_ROWS_DISPLAY; /** * Format query results for display */ static formatResult(result: QueryResult): string; /** * Format error messages */ static formatError(error: QueryError): string; /** * Format general error messages */ static formatGeneralError(message: string): string; /** * Format success messages */ static formatSuccess(message: string): string; /** * Format connection information */ static formatConnection(url: string, projectId?: string): string; /** * Format help message */ static formatHelp(): string; private static createTable; private static extractHeaders; private static extractRows; private static formatValue; private static calculateColumnWidths; private static formatEmptyResult; private static formatSummary; /** * Format table list for \dt command */ static formatTableList(tables: any[]): string; /** * Format table description for \d command */ static formatTableDescription(columns: any[], tableName: string): string; /** * Format file execution results */ static formatFileExecutionResult(result: FileExecutionResult, quiet?: boolean): string; /** * Format file execution summary */ static formatFileExecutionSummary(summary: FileExecutionSummary): string; /** * Format multiple file execution results */ static formatMultipleFileResults(results: FileExecutionResult[], quiet?: boolean): string; /** * Format project list for admin command */ static formatProjectList(projects: AdminProject[]): string; /** * Format project creation success message */ static formatProjectCreated(project: AdminProject): string; /** * Format project deletion success message */ static formatProjectDeleted(project: AdminProject): string; /** * Type guard for QueryError */ private static isQueryError; } //# sourceMappingURL=result-formatter.d.ts.map