/** * Index Builder * Handles index generation, parsing, and SQL generation */ import type { IIndexDefinition } from '../../../types'; import type { IIndexInfo } from '../../../database/introspection'; export declare class IndexBuilder { /** * Convert introspection index data to index definition */ convertToIndexDefinition(index: IIndexInfo): IIndexDefinition; /** * Generate SQL for an index */ generateIndexSQL(index: IIndexDefinition, schema: string): string; /** * Extract column names from index definition */ private extractColumnsFromIndexDef; /** * Extract the column list from index definition, handling nested parentheses */ private extractColumnListFromIndexDef; /** * Parse index columns intelligently, handling both simple columns and complex expressions */ private parseIndexColumns; /** * Extract WHERE clause from index definition */ private extractWhereClause; /** * Check if the column is a complex expression (contains function calls, operators, etc.) */ private isComplexExpression; /** * Escape identifier for SQL */ private escapeIdentifier; } //# sourceMappingURL=indexBuilder.d.ts.map