michangarrito/apps/backend/node_modules/sql-highlight/lib/index.d.ts
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -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;
}