import { Initializer, DeepPartial } from "@azure-tools/codegen"; import { Extensions } from "../extensions"; import { Languages } from "../languages"; import { Schema } from "../schema"; import { SchemaType } from "../schema-type"; /** 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 { /** 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