import { type EmitContext, type Program, type Service } from "@typespec/compiler"; import { type AutorestEmitterOptions } from "./lib.js"; import { type AutorestDocumentEmitterOptions } from "./openapi.js"; import type { AutorestServiceRecord } from "./types.js"; /** * Extended options specific to the emitting of the typespec-autorest emitter */ interface ResolvedAutorestEmitterOptions extends AutorestDocumentEmitterOptions { readonly azureResourceProviderFolder?: string; /** * Set the newline character for emitting files. * @default lf */ readonly newLine?: "crlf" | "lf"; readonly outputDir: string; readonly outputFile: string; readonly version?: string; /** * Controls emission of a `service.yaml` manifest at the project root. * @default "auto" */ readonly serviceYaml?: "auto" | "always" | "never"; } export declare function $onEmit(context: EmitContext): Promise; export declare function resolveAutorestOptions(program: Program, emitterOutputDir: string, options: AutorestEmitterOptions): ResolvedAutorestEmitterOptions; export declare function getAllServicesAtAllVersions(program: Program, options: ResolvedAutorestEmitterOptions): Promise; export declare function resolveOutputFile(program: Program, service: Service, multipleServices: boolean, options: ResolvedAutorestEmitterOptions, version?: string, feature?: string): string; export {}; //# sourceMappingURL=emit.d.ts.map