import { RequestType0, RequestType2 } from "../ref/jsonrpc"; import { NotificationType4 } from "../ref/jsonrpc"; import { Mapping, RawSourceMap, SmartPosition } from "../ref/source-map"; import { Message } from "../message"; export declare module IAutoRestPluginTarget_Types { const GetPluginNames: RequestType0; const Process: RequestType2; } export interface IAutoRestPluginTarget { GetPluginNames(): Promise; Process(pluginName: string, sessionId: string): Promise; } export declare module IAutoRestPluginInitiator_Types { const ReadFile: RequestType2; const GetValue: RequestType2; const ListInputs: RequestType2; const WriteFile: NotificationType4; } export interface IAutoRestPluginInitiator { ReadFile(sessionId: string, filename: string): Promise; GetValue(sessionId: string, key: string): Promise; ListInputs(sessionId: string, artifactType?: string): Promise; WriteFile(sessionId: string, filename: string, content: string, sourceMap?: Mapping[] | RawSourceMap): void; Message(sessionId: string, message: Message, path?: SmartPosition, sourceFile?: string): void; }