import { type FoldRule, type IdentKind } from "../ident/fold.js"; import type { QualifiedNameConfig } from "../ir/qualified-name.js"; export declare const TSQL_FOLD_RULE: FoldRule; /** Four-part names: linked_server.database.schema.object, with elidable middle parts * (`db..t` = default schema) — learn.microsoft.com "Transact-SQL syntax conventions", * multipart names. Normalized vocabulary: server = linked server, catalog = database. */ export declare const TSQL_NAME_CONFIG: QualifiedNameConfig; /** Fold an identifier to its T-SQL identity key. */ export declare function fold(raw: string, kind?: IdentKind): string; /** Presentation twin: strip delimiters, no case change. */ export declare function displayName(raw: string): string; export declare function foldTableName(parts: string[]): string[]; export declare function matchesSourceKey(key: string, rawPart: string): boolean;