import type { Extensions, Languages } from "@autorest/codemodel"; import { Schema, SchemaType } from "@autorest/codemodel"; import type { DeepPartial } from "@azure-tools/codegen"; import { Initializer } from "@azure-tools/codegen"; import type { SchemaUsage } from "./usage.js"; /** a container for the actual constant value */ export interface ConstantValue extends Extensions { /** per-language information for this value */ language?: Languages; /** the actual constant value to use */ value: any; } export declare class ConstantValue extends Initializer implements ConstantValue { constructor(value: any, objectInitializer?: DeepPartial); } /** a schema that represents a constant value */ export interface ConstantSchema extends Schema, SchemaUsage { /** the schema type */ type: SchemaType.Constant; /** the schema type of the constant value (ie, StringSchema, NumberSchema, etc) */ valueType: ConstantType; /** the actual constant value */ value: ConstantValue; } export declare class ConstantSchema extends Schema implements ConstantSchema { constructor(name: string, description: string, objectInitializer?: DeepPartial>); } //# sourceMappingURL=constant.d.ts.map