import type { CommonTokenStream } from 'antlr4ts'; import type { ParseTree } from 'antlr4ts/tree'; import type { DocumentRange } from '../../model/malloy_types'; import type { MalloyTranslation } from '../parse-malloy'; type NeedImports = Record; type NeedTables = Record; export declare function constructTableKey(connectionName: string | undefined, tablePath: string): string; /** * This function parses an old-style `tableURI` into a connection name and * table path. The name includes `deprecated` because it should only be used * in the (deprecated) old-style `table('conn:tab')` syntax. Any use of this * anywhere else is bad. * @param tableURI The sting that is passed into the `table('conn:tab')` syntax. * @returns A connection name and table path. * @deprecated */ export declare function deprecatedParseTableURI(tableURI: string): { connectionName?: string; tablePath: string; }; export interface FindReferencesData { tables: NeedTables; urls: NeedImports; } export declare function findReferences(trans: MalloyTranslation, tokens: CommonTokenStream, parseTree: ParseTree): FindReferencesData; export {};