import * as vscode from 'vscode'; import { ServiceBase } from '../util/service'; import type { ConfigData } from '../config'; import type { IndentationService } from './indentation'; import type { ConfigSymbolService } from './symbol'; export interface OutlineEntry { readonly level: number; readonly line: number; readonly location: vscode.Location; readonly text: string; readonly token: string; readonly type: vscode.SymbolKind; readonly anchor: number; } export declare class OutlineService extends ServiceBase { private _config; private _symbolService; private _indentationService; constructor(_config: ConfigData, _symbolService: ConfigSymbolService, _indentationService: IndentationService); lookup(document: vscode.TextDocument, text: string): Promise; parse(document: vscode.TextDocument): Promise; private isSymbolToken; }