michangarrito/apps/backend/node_modules/sql-highlight/lib/index.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

31 lines
681 B
TypeScript

declare module 'sql-highlight' {
export interface HighlightOptions {
html?: boolean;
htmlEscaper?: (str: string) => string;
classPrefix?: string;
colors?: {
keyword: string;
function: string;
number: string;
string: string;
identifier: string;
special: string;
bracket: string;
comment: string;
clear: string;
};
}
export interface Segment {
name: string;
content: string;
}
export function getSegments(sqlString: string): Array<Segment>;
export function highlight(
sqlString: string,
options?: HighlightOptions
): string;
export const DEFAULT_OPTIONS: HighlightOptions;
}