import type { SlugCasing } from '@renoun/mdx'; import type { SyntaxKind, Project } from '../utils/ts-morph.ts'; import type { Section } from '../file-system/types.ts'; import { type JavaScriptFileReferenceBaseData, type JavaScriptFileResolvedTypesData } from '../file-system/reference-artifacts.ts'; import type { ModuleExport } from '../utils/get-file-exports.ts'; import { getFileExportMetadata as baseGetFileExportMetadata } from '../utils/get-file-exports.ts'; import type { GetSourceTextMetadataOptions, SourceTextMetadata } from './query/source-text-metadata.ts'; import { getFileExportStaticValue as baseGetFileExportStaticValue } from '../utils/get-file-export-static-value.ts'; import type { GetTokensOptions, TokenizedLines } from '../utils/get-tokens.ts'; import { type ResolvedTypeAtLocationResult } from '../utils/resolve-type-at-location.ts'; import { type ResolvedFileExportsResult } from '../utils/resolve-file-exports.ts'; import type { Highlighter } from '../utils/create-highlighter.ts'; import type { TypeFilter } from '../utils/resolve-type.ts'; import type { OutlineRange } from '../utils/get-outline-ranges.ts'; export declare function onRuntimeAnalysisBackgroundRefresh(listener: (paths: readonly string[]) => void): () => void; interface RuntimeAnalysisScopeOptions { scopePath?: string; analysisScopeId?: string; } interface PrewarmRuntimeAnalysisSessionOptions { project: Project; filePath?: string; } export declare function prewarmRuntimeAnalysisSession(options?: string | RuntimeAnalysisScopeOptions | PrewarmRuntimeAnalysisSessionOptions): Promise; export declare function invalidateRuntimeAnalysisCachePath(path: string): void; export declare function invalidateRuntimeAnalysisCachePaths(paths: Iterable): void; export declare function invalidateRuntimeAnalysisCacheAll(): void; export declare function getCachedTypeScriptDependencyPaths(project: Project, filePath: string): Promise; export declare function getCachedFileExports(project: Project, filePath: string): Promise; export declare function readFreshCachedReferenceBaseArtifact(project: Project, options: { filePath: string; stripInternal: boolean; }): Promise; export declare function getCachedReferenceBaseArtifact(project: Project, options: { filePath: string; stripInternal: boolean; }): Promise; export declare function getCachedReferenceResolvedTypesArtifact(project: Project, options: { filePath: string; }): Promise; export declare function getCachedReferenceSectionsArtifact(project: Project, options: { filePath: string; stripInternal: boolean; slugCasing: SlugCasing; }): Promise; export declare function getCachedOutlineRanges(project: Project, filePath: string): Promise; export declare function getCachedFileExportMetadata(project: Project, options: { name: string; filePath: string; position: number; kind: SyntaxKind; }): Promise>>; export declare function getCachedFileExportStaticValue(project: Project, options: { filePath: string; position: number; kind: SyntaxKind; }): Promise>>; export declare function getCachedFileExportText(project: Project, options: { filePath: string; position: number; kind: SyntaxKind; includeDependencies?: boolean; }): Promise; export declare function resolveCachedTypeAtLocationWithDependencies(project: Project, options: { filePath: string; position: number; kind: SyntaxKind; filter?: TypeFilter; isInMemoryFileSystem?: boolean; }): Promise; export declare function resolveCachedFileExportsWithDependencies(project: Project, options: { filePath: string; filter?: TypeFilter; blockedPersistentResolvedFilePaths?: ReadonlySet; }): Promise; export declare function transpileCachedSourceFile(project: Project, filePath: string): Promise; export declare function getCachedSourceTextMetadata(project: Project, options: Omit): Promise; export declare function getCachedTokens(project: Project, options: Omit & { highlighterLoader?: () => Promise | Highlighter | null; waitForWarmResult?: boolean; }): Promise; export {};