import type { MigrationPlan, SchemaDefinition } from '@chkit/core'; interface ParsedTableSelector { database?: string; mode: 'exact' | 'prefix'; value: string; } export interface TableScope { enabled: boolean; selector?: string; matchedTables: string[]; matchCount: number; } interface TableScopeFilterResult { plan: MigrationPlan; omittedOperationCount: number; } interface TableRenameMapping { oldDatabase: string; oldName: string; newDatabase: string; newName: string; } export declare function tableKeysFromDefinitions(definitions: SchemaDefinition[]): string[]; export declare function parseTableSelector(input: string): ParsedTableSelector; export declare function resolveTableScope(selector: string | undefined, availableTables: string[]): TableScope; export declare function tableKeyFromOperationKey(operationKey: string): string | null; export declare function databaseKeyFromOperationKey(operationKey: string): string | null; export declare function filterPlanByTableScope(plan: MigrationPlan, matchedTables: ReadonlySet, options?: { renameMappings?: TableRenameMapping[]; }): TableScopeFilterResult; export declare function buildScopedSnapshotDefinitions(input: { previousDefinitions: SchemaDefinition[]; nextDefinitions: SchemaDefinition[]; matchedTables: ReadonlySet; renameMappings?: TableRenameMapping[]; }): SchemaDefinition[]; export {}; //# sourceMappingURL=table-scope.d.ts.map