import { BinaryReadOptions, BinaryWriteOptions, IBinaryReader, IBinaryWriter, MessageType, PartialMessage } from "@protobuf-ts/runtime"; //#region generated/ts/core/json_schema.d.ts /** * Recursive JSON schema message * Describes the structure and metadata of JSON data * * @generated from protobuf message tusk.drift.core.v1.JsonSchema */ interface JsonSchema { /** * The type of this schema node * * @generated from protobuf field: tusk.drift.core.v1.JsonSchemaType type = 1 */ type: JsonSchemaType; /** * For OBJECT types: map of property names to their schemas * * @generated from protobuf field: map properties = 2 */ properties: { [key: string]: JsonSchema; }; /** * For ORDERED_LIST/UNORDERED_LIST types: schema of list items * * @generated from protobuf field: optional tusk.drift.core.v1.JsonSchema items = 3 */ items?: JsonSchema; /** * Optional encoding information (e.g., BASE64) * * @generated from protobuf field: optional tusk.drift.core.v1.EncodingType encoding = 4 */ encoding?: EncodingType; /** * Optional decoded content type (e.g., JSON, HTML) * * @generated from protobuf field: optional tusk.drift.core.v1.DecodedType decoded_type = 5 */ decodedType?: DecodedType; /** * Match importance for test matching (0.0 to 1.0) * 0.0 = lowest importance, 1.0 = highest importance * * @generated from protobuf field: optional double match_importance = 6 */ matchImportance?: number; } /** * JSON schema type enumeration * Language-agnostic type classification for JSON values * * @generated from protobuf enum tusk.drift.core.v1.JsonSchemaType */ declare enum JsonSchemaType { /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_NUMBER = 1; */ NUMBER = 1, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_STRING = 2; */ STRING = 2, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_BOOLEAN = 3; */ BOOLEAN = 3, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_NULL = 4; */ NULL = 4, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_UNDEFINED = 5; */ UNDEFINED = 5, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_OBJECT = 6; */ OBJECT = 6, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_ORDERED_LIST = 7; */ ORDERED_LIST = 7, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_UNORDERED_LIST = 8; */ UNORDERED_LIST = 8, /** * @generated from protobuf enum value: JSON_SCHEMA_TYPE_FUNCTION = 9; */ FUNCTION = 9, } /** * Encoding type for data serialization * * @generated from protobuf enum tusk.drift.core.v1.EncodingType */ declare enum EncodingType { /** * @generated from protobuf enum value: ENCODING_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from protobuf enum value: ENCODING_TYPE_BASE64 = 1; */ BASE64 = 1, } /** * Decoded content type classification * Describes the semantic type of decoded content * * @generated from protobuf enum tusk.drift.core.v1.DecodedType */ declare enum DecodedType { /** * @generated from protobuf enum value: DECODED_TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from protobuf enum value: DECODED_TYPE_JSON = 1; */ JSON = 1, /** * @generated from protobuf enum value: DECODED_TYPE_HTML = 2; */ HTML = 2, /** * @generated from protobuf enum value: DECODED_TYPE_CSS = 3; */ CSS = 3, /** * @generated from protobuf enum value: DECODED_TYPE_JAVASCRIPT = 4; */ JAVASCRIPT = 4, /** * @generated from protobuf enum value: DECODED_TYPE_XML = 5; */ XML = 5, /** * @generated from protobuf enum value: DECODED_TYPE_YAML = 6; */ YAML = 6, /** * @generated from protobuf enum value: DECODED_TYPE_MARKDOWN = 7; */ MARKDOWN = 7, /** * @generated from protobuf enum value: DECODED_TYPE_CSV = 8; */ CSV = 8, /** * @generated from protobuf enum value: DECODED_TYPE_SQL = 9; */ SQL = 9, /** * @generated from protobuf enum value: DECODED_TYPE_GRAPHQL = 10; */ GRAPHQL = 10, /** * @generated from protobuf enum value: DECODED_TYPE_PLAIN_TEXT = 11; */ PLAIN_TEXT = 11, /** * @generated from protobuf enum value: DECODED_TYPE_FORM_DATA = 12; */ FORM_DATA = 12, /** * @generated from protobuf enum value: DECODED_TYPE_MULTIPART_FORM = 13; */ MULTIPART_FORM = 13, /** * @generated from protobuf enum value: DECODED_TYPE_PDF = 14; */ PDF = 14, /** * @generated from protobuf enum value: DECODED_TYPE_AUDIO = 15; */ AUDIO = 15, /** * @generated from protobuf enum value: DECODED_TYPE_VIDEO = 16; */ VIDEO = 16, /** * @generated from protobuf enum value: DECODED_TYPE_GZIP = 17; */ GZIP = 17, /** * @generated from protobuf enum value: DECODED_TYPE_BINARY = 18; */ BINARY = 18, /** * @generated from protobuf enum value: DECODED_TYPE_JPEG = 19; */ JPEG = 19, /** * @generated from protobuf enum value: DECODED_TYPE_PNG = 20; */ PNG = 20, /** * @generated from protobuf enum value: DECODED_TYPE_GIF = 21; */ GIF = 21, /** * @generated from protobuf enum value: DECODED_TYPE_WEBP = 22; */ WEBP = 22, /** * @generated from protobuf enum value: DECODED_TYPE_SVG = 23; */ SVG = 23, /** * @generated from protobuf enum value: DECODED_TYPE_ZIP = 24; */ ZIP = 24, } declare class JsonSchema$Type extends MessageType { constructor(); create(value?: PartialMessage): JsonSchema; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JsonSchema): JsonSchema; private binaryReadMap2; internalBinaryWrite(message: JsonSchema, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message tusk.drift.core.v1.JsonSchema */ declare const JsonSchema: JsonSchema$Type; //#endregion export { DecodedType, EncodingType, JsonSchema, JsonSchemaType }; //# sourceMappingURL=json_schema-dDDndex9.d.ts.map