import type { Position, Range } from 'brighterscript'; import { ProgramBuilder } from 'brighterscript'; import type { MaybePromise } from '../interfaces'; import type { DebugProtocol } from '@vscode/debugprotocol'; /** * Class that wraps the BrighterScript ProgramBuilder */ export declare class BscProject { private programBuilder; /** * Activate the ProgramBuilder and run it (using any options provided) * @param options */ activate(options: Parameters[0]): Promise; /** * Get all of the functions available for all scopes for this file. * @param relativePath path to the file relative to rootDir * @returns */ getScopeFunctionsForFile(options: { relativePath: string; }): MaybePromise>; /** * Get the range of the scope that contains the specified position */ getScopeRange(options: { relativePath: string; position: Position; }): MaybePromise; dispose(): void; } export interface ScopeFunction { name: string; completionItemKind: DebugProtocol.CompletionItemType; }