/** * Index Operations Module * Handles index-related operations for schema sync */ import type { Client } from 'pg'; import type { ILegacySyncOptions } from '../../types'; import { type SyncDbSide } from '../syncClient'; export interface IIndexRow { schemaname: string; tablename: string; indexname: string; indexdef: string; } export declare class IndexOperations { private sourceClient; private targetClient; private options; constructor(sourceClient: Client, targetClient: Client, options: ILegacySyncOptions); /** * Get all indexes from a schema on the given database. */ getIndexes(side: SyncDbSide): Promise; /** * Parse index definition to extract components */ private parseIndexDefinition; /** * Generate CREATE INDEX statement using fallback method */ private generateFallbackIndexStatement; /** * Generate CREATE INDEX statement */ generateCreateIndexStatement(indexDef: string, targetSchema: string): string; /** * Generate index operations for schema sync */ generateIndexOperations(): Promise; } //# sourceMappingURL=indexes.d.ts.map