type Server = { url: string; }; type AboutData = { title: string; description: string; version: string; servers: Server[]; }; export type AboutChunk = { id: string; slug: string; chunkData: AboutData; chunkType: "about"; }; type SecurityEntryData = { type: string; description: string; name: string; in: string; }; type SecurityData = { id: string; entries: SecurityEntryData[]; }; export type SecurityChunk = { id: string; slug: string; chunkData: SecurityData; chunkType: "security"; }; export type GlobalSecurityChunk = { id: string; slug: string; chunkData: SecurityData; chunkType: "globalSecurity"; }; type TopLevelExample = { name: string; value: string; }; type Security = { contentChunkId: string; }; type Parameter = { name: string; description: string | null; required: boolean; deprecated: boolean; in: string; fieldChunkId: string; }; type Response = { description: string | null; contentType: string; contentChunkId: string; examples: TopLevelExample[]; }; type RequestBody = { description: string | null; required: boolean; contentChunkId: string; examples: TopLevelExample[]; }; type OperationData = { operationId: string; path: string; method: string; summary: string | null; description: string | null; parameters: Parameter[]; requestBody: RequestBody | null; responses: Record; tag: string; security: Security | null; deprecated: boolean; codeSamples: Record; }; export type OperationChunk = { id: string; slug: string; chunkData: OperationData; chunkType: "operation"; }; type ChunkValue = { type: "chunk"; chunkId: string; }; type BaseValue = { description: string | null; examples: string[]; isNullable: boolean; defaultValue: string | null; }; type AnyValue = BaseValue & { type: "any"; }; type NullValue = BaseValue & { type: "null"; }; type BooleanValue = BaseValue & { type: "boolean"; }; type StringValue = BaseValue & { type: "string"; minLength: number | null; maxLength: number | null; pattern: string | null; }; type DateValue = BaseValue & { type: "date"; }; type DateTimeValue = BaseValue & { type: "date-time"; }; type NumberBase = { minimum: number | null; maximum: number | null; }; type NumberValue = BaseValue & NumberBase & { type: "number"; }; type IntegerValue = BaseValue & NumberBase & { type: "integer"; }; type Int32Value = BaseValue & NumberBase & { type: "int32"; }; type BigIntValue = BaseValue & NumberBase & { type: "bigint"; }; type Float32Value = BaseValue & NumberBase & { type: "float32"; }; type DecimalValue = BaseValue & NumberBase & { type: "decimal"; }; type EnumValue = BaseValue & { type: "enum"; values: string[]; }; export type ObjectValue = BaseValue & { type: "object"; properties: Record; required: string[]; name: string; }; type ArrayValue = BaseValue & { type: "array"; items: SchemaValue; minItems: number | null; maxItems: number | null; }; type SetValue = BaseValue & { type: "set"; items: SchemaValue; }; type MapValue = BaseValue & { type: "map"; items: SchemaValue; }; type JSONLValue = BaseValue & { type: "jsonl"; items: SchemaValue; }; type EventStreamValue = BaseValue & { type: "event-stream"; items: SchemaValue; }; type BinaryValue = BaseValue & { type: "binary"; }; type UnionValue = BaseValue & { type: "union"; values: SchemaValue[]; }; export type SchemaValue = NullValue | StringValue | DateValue | DateTimeValue | BooleanValue | NumberValue | IntegerValue | Int32Value | Float32Value | DecimalValue | BigIntValue | ObjectValue | ArrayValue | SetValue | MapValue | JSONLValue | EventStreamValue | UnionValue | EnumValue | BinaryValue | AnyValue | ChunkValue; export type SchemaChunk = { id: string; slug: string; chunkData: { name: string; value: SchemaValue; }; chunkType: "schema"; }; type TagData = { name: string; description: string | null; operationChunkIds: string[]; }; export type TagChunk = { id: string; slug: string; chunkData: TagData; chunkType: "tag"; }; export type Chunk = AboutChunk | GlobalSecurityChunk | SecurityChunk | OperationChunk | SchemaChunk | TagChunk; export {}; //# sourceMappingURL=chunk.d.ts.map