import { Channel, AutorestExtensionHost as Host, JsonPointerSegments as JsonPath, Message } from '@autorest/extension-base'; import { Initializer, DeepPartial } from '@azure-tools/codegen'; import { Dictionary } from '@azure-tools/linq'; import { TspHost } from './tsp-host'; export declare class ModelState> extends Initializer { service: TspHost | Host; model: T; protected documentName: string; protected currentPath: JsonPath; protected outputFolder: string; private context; private _debug; private _verbose; constructor(service: TspHost | Host, objectInitializer?: DeepPartial>); init(project?: any): Promise; initContext(project: any): Promise; readFile(filename: string): Promise; getValue(key: string, defaultValue?: V): Promise; setValue(key: string, value: V): Promise; listInputs(artifactType?: string | undefined): Promise>; protectFiles(path: string): Promise; writeFile(filename: string, content: string, sourceMap?: undefined, artifactType?: string | undefined): void; message(message: Message): void; updateConfigurationFile(filename: string, content: string): void; getConfigurationFile(filename: string): Promise; protected errorCount: number; protected static getModel(service: Host | TspHost): Promise<{ filename: string; model: T; }>; cache: Array; replacer(key: string, value: any): any; resolveVariables(input: string): Promise; path(...childPath: JsonPath): this; checkpoint(): void; protected msg(channel: Channel, message: string, key: Array, details: any): void; warning(message: string, key: Array, details?: any): void; hint(message: string, key: Array, details?: any): void; error(message: string, key: Array, details?: any): void; fatal(message: string, key: Array, details?: any): void; protected output(channel: Channel, message: string, details?: any): void; debug(message: string, details: any): void; verbose(message: string, details: any): void; log(message: string, details: any): void; } //# sourceMappingURL=model-state.d.ts.map