import { a as ReadonlyKind, n as TSchema, r as Kind, t as SchemaOptions } from "./schema-LN4kiIw1.mjs"; import { t as TOptional } from "./optional-Bis1WTKK.mjs"; //#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts type TReadonly = T & { [ReadonlyKind]: 'Readonly'; }; //#endregion //#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts type StringFormatOption = 'date-time' | 'time' | 'date' | 'email' | 'idn-email' | 'hostname' | 'idn-hostname' | 'ipv4' | 'ipv6' | 'uri' | 'uri-reference' | 'iri' | 'uuid' | 'iri-reference' | 'uri-template' | 'json-pointer' | 'relative-json-pointer' | 'regex' | ({} & string); type StringContentEncodingOption = '7bit' | '8bit' | 'binary' | 'quoted-printable' | 'base64' | ({} & string); interface StringOptions extends SchemaOptions { /** The maximum string length */ maxLength?: number; /** The minimum string length */ minLength?: number; /** A regular expression pattern this string should match */ pattern?: string; /** A format this string should match */ format?: StringFormatOption; /** The content encoding for this string */ contentEncoding?: StringContentEncodingOption; /** The content media type for this string */ contentMediaType?: string; } interface TString extends TSchema, StringOptions { [Kind]: 'String'; static: string; type: 'string'; } //#endregion //#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts /** Creates a static type from a TypeBox type */ type Static = Result; //#endregion //#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts type ReadonlyOptionalPropertyKeys = { [K in keyof T]: T[K] extends TReadonly ? (T[K] extends TOptional ? K : never) : never }[keyof T]; type ReadonlyPropertyKeys = { [K in keyof T]: T[K] extends TReadonly ? (T[K] extends TOptional ? never : K) : never }[keyof T]; type OptionalPropertyKeys = { [K in keyof T]: T[K] extends TOptional ? (T[K] extends TReadonly ? never : K) : never }[keyof T]; type RequiredPropertyKeys = keyof Omit | ReadonlyPropertyKeys | OptionalPropertyKeys>; type ObjectStaticProperties> = Evaluate<(Readonly>>> & Readonly>> & Partial>> & Required>>)>; type ObjectStatic = ObjectStaticProperties }>; type TPropertyKey = string | number; type TProperties = Record; type TIsLiteralString = ([Type] extends [string] ? [string] extends [Type] ? false : true : false); type IsRequiredArrayLiteralConstant = (RequiredTuple extends [infer Left extends string, ...infer _ extends string[]] ? TIsLiteralString : false); type TRequiredArray ? never : Key]: Properties[Key] }, RequiredUnion extends string = Extract, RequiredTuple extends string[] = UnionToTuple, Result extends string[] | undefined = (IsRequiredArrayLiteralConstant extends true ? RequiredTuple : string[] | undefined)> = Result; type TAdditionalProperties = undefined | TSchema | boolean; interface ObjectOptions extends SchemaOptions { /** Additional property constraints for this object */ additionalProperties?: TAdditionalProperties; /** The minimum number of properties allowed on this object */ minProperties?: number; /** The maximum number of properties allowed on this object */ maxProperties?: number; } interface TObject extends TSchema, ObjectOptions { [Kind]: 'Object'; static: ObjectStatic; additionalProperties?: TAdditionalProperties; type: 'object'; properties: T; required: TRequiredArray; } //#endregion //#region node_modules/.pnpm/@sinclair+typebox@0.34.49/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts type UnionToIntersect = (U extends unknown ? (arg: U) => 0 : never) extends ((arg: infer I) => 0) ? I : never; type UnionLast = UnionToIntersect 0 : never> extends ((x: infer L) => 0) ? L : never; type UnionToTuple> = [U] extends [never] ? Acc : UnionToTuple, [Extract, ...Acc]>; type Assert = T extends E ? T : never; type Evaluate = T extends infer O ? { [K in keyof O]: O[K] } : never; type Ensure = T extends infer U ? U : never; //#endregion export { TObject as a, TAdditionalProperties as i, Ensure as n, Static as o, Evaluate as r, TString as s, Assert as t }; //# sourceMappingURL=helpers-DutyHbVD.d.mts.map