UNPKG

@autorest/cadl

Version:
12 lines 444 B
import { AutorestExtensionHost } from "@autorest/extension-base"; export declare function setupCadlCompilerPlugin(host: AutorestExtensionHost): Promise<void>; /** * Retrieve the position(Line,Column) from the index in the source. * @param text Source. * @param index Index. */ export declare function indexToPosition(text: string, index: number): { column: number; line: number; }; //# sourceMappingURL=cadl-compiler-plugin.d.ts.map