/** * inspect.ts * * Introspect details about a given sql string and position. * Used by autocomplete / quickinfo code. */ import { LoadedData, Logger, CompletionEntry, InfoContext, QuickInfo, InspectError } from '../load.types'; /** * Initialize the {@link InfoContext} with a cache */ export declare const toInfoContext: (data: LoadedData[], logger: Logger) => InfoContext; export declare const completionAtOffset: (ctx: InfoContext, sql: string, offset: number) => CompletionEntry[] | undefined; export declare const inspectError: (ctx: InfoContext, sql: string) => InspectError | undefined; export declare const quickInfoAtOffset: (ctx: InfoContext, sql: string, offset: number) => QuickInfo | undefined;