import type { Parameter } from "@autorest/codemodel"; import { Info, Metadata, OperationGroup, Schemas, Security } from "@autorest/codemodel"; import type { DeepPartial } from "@azure-tools/codegen"; import type { Client } from "./client.js"; /** the model that contains all the information required to generate a service api */ export interface CodeModel extends Metadata { /** Code model information */ info: Info; /** All schemas for the model */ schemas: Schemas; /** All operations */ operationGroups: Array; /** all global parameters (ie, ImplementationLocation = client ) */ globalParameters?: Array; security: Security; clients: Array; arm?: boolean; apiVersionMap?: Record; crossLanguagePackageId?: string; crossLanguageVersion?: string; } export declare class CodeModel extends Metadata implements CodeModel { constructor(title: string, sourceTracking?: boolean, objectInitializer?: DeepPartial); private get globals(); getOperationGroup(group: string): OperationGroup; findGlobalParameter(predicate: (value: Parameter) => boolean): Parameter | undefined; addGlobalParameter(parameter: Parameter): Parameter; addGlobalParameter(find: (value: Parameter) => boolean, create: () => Parameter): Parameter; } export type ValueOrFactory = T | (() => T); //# sourceMappingURL=code-model.d.ts.map