import { TextSpan } from '@vuedx/vue-virtual-textdocument';
import { FilesystemService } from './FilesystemService';
import { TypescriptContextService } from './TypescriptContextService';
export declare class PluginSideChannel {
    private readonly fs;
    private readonly ts;
    constructor(fs: FilesystemService, ts: TypescriptContextService);
    /**
     * Get contents of a virtual file.
     */
    getVirtualFileContents(fileName: string): Promise<string | undefined>;
    findGeneratedTextSpan(fileName: string, textSpan: TextSpan): Promise<TextSpan | null>;
    findOriginalTextSpan(fileName: string, textSpan: TextSpan): Promise<TextSpan | null>;
    getRelatedVirtualFiles(fileName: string): Promise<string[]>;
}
//# sourceMappingURL=PluginSideChannel.d.ts.map