import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { Value } from "@bufbuild/protobuf/wkt"; import type { JsonObject, Message } from "@bufbuild/protobuf"; /** * Describes the file pdfprofile/v2/parameters_schema.proto. */ export declare const file_pdfprofile_v2_parameters_schema: GenFile; /** * ParametersSchema represents a JSON Schema 2020-12 compliant parameters schema * * @generated from message pdfprofile.v2.ParametersSchema */ export type ParametersSchema = Message<"pdfprofile.v2.ParametersSchema"> & { /** * JSON Schema 2020-12 identifiers * * e.g., "https://json-schema.org/draft/2020-12/schema" * * @generated from field: string schema = 1; */ schema: string; /** * @generated from field: string id = 2; */ id: string; /** * Core JSON Schema properties * * Must be "object" * * @generated from field: string type = 3; */ type: string; /** * @generated from field: string title = 4; */ title: string; /** * @generated from field: string description = 5; */ description: string; /** * @generated from field: repeated string required = 6; */ required: string[]; /** * @generated from field: map properties = 7; */ properties: { [key: string]: FormField; }; /** * @generated from oneof pdfprofile.v2.ParametersSchema.additional_properties_definition */ additionalPropertiesDefinition: { /** * @generated from field: bool additional_properties_bool = 8; */ value: boolean; case: "additionalPropertiesBool"; } | { /** * @generated from field: pdfprofile.v2.FormField additional_properties_schema = 9; */ value: FormField; case: "additionalPropertiesSchema"; } | { case: undefined; value?: undefined; }; /** * Reusable definitions * * @generated from field: map defs = 10 [json_name = "$defs"]; */ defs: { [key: string]: FormField; }; /** * Examples for the entire form * * @generated from field: repeated google.protobuf.Struct examples = 11; */ examples: JsonObject[]; }; /** * Describes the message pdfprofile.v2.ParametersSchema. * Use `create(ParametersSchemaSchema)` to create a new message. */ export declare const ParametersSchemaSchema: GenMessage; /** * EnumOption represents a UI enum option (matches new-schema.ts) * * @generated from message pdfprofile.v2.EnumOption */ export type EnumOption = Message<"pdfprofile.v2.EnumOption"> & { /** * The value used in the parameter (string, number, or boolean) * * @generated from field: google.protobuf.Value value = 1; */ value?: Value; /** * The display label for this value * * @generated from field: string label = 2; */ label: string; /** * Optional description for this value * * @generated from field: string description = 3; */ description: string; }; /** * Describes the message pdfprofile.v2.EnumOption. * Use `create(EnumOptionSchema)` to create a new message. */ export declare const EnumOptionSchema: GenMessage; /** * UIExtension represents the x-ui extension (matches new-schema.ts) * * @generated from message pdfprofile.v2.UIExtension */ export type UIExtension = Message<"pdfprofile.v2.UIExtension"> & { /** * @generated from field: string section = 1; */ section: string; /** * WidgetType: "text" | "textarea" | "number" | "select" | "radio" | "switch" | "checkbox" * * @generated from field: string widget = 2; */ widget: string; /** * @generated from field: string placeholder = 3; */ placeholder: string; /** * @generated from field: int32 rows = 4; */ rows: number; /** * @generated from field: string units = 5; */ units: string; /** * @generated from field: double step = 6; */ step: number; }; /** * Describes the message pdfprofile.v2.UIExtension. * Use `create(UIExtensionSchema)` to create a new message. */ export declare const UIExtensionSchema: GenMessage; /** * ErrorMessages represents the x-error-messages extension (matches new-schema.ts) * * @generated from message pdfprofile.v2.ErrorMessages */ export type ErrorMessages = Message<"pdfprofile.v2.ErrorMessages"> & { /** * @generated from field: string required = 1; */ required: string; /** * @generated from field: string pattern = 2; */ pattern: string; /** * @generated from field: string min_length = 3; */ minLength: string; /** * @generated from field: string max_length = 4; */ maxLength: string; /** * @generated from field: string minimum = 5; */ minimum: string; /** * @generated from field: string maximum = 6; */ maximum: string; /** * @generated from field: string multiple_of = 7; */ multipleOf: string; /** * @generated from field: string enum = 8; */ enum: string; }; /** * Describes the message pdfprofile.v2.ErrorMessages. * Use `create(ErrorMessagesSchema)` to create a new message. */ export declare const ErrorMessagesSchema: GenMessage; /** * FormField represents a single parameter definition (matches new-schema.ts) * * @generated from message pdfprofile.v2.FormField */ export type FormField = Message<"pdfprofile.v2.FormField"> & { /** * Core JSON Schema properties * * @generated from field: string type = 1; */ type: string; /** * @generated from field: string title = 2; */ title: string; /** * @generated from field: string description = 3; */ description: string; /** * @generated from field: google.protobuf.Value default_value = 4; */ defaultValue?: Value; /** * @generated from field: repeated google.protobuf.Value examples = 5; */ examples: Value[]; /** * @generated from field: google.protobuf.Value const_value = 6; */ constValue?: Value; /** * String validation * * @generated from field: optional int32 min_length = 7; */ minLength?: number; /** * @generated from field: optional int32 max_length = 8; */ maxLength?: number; /** * @generated from field: optional string pattern = 9; */ pattern?: string; /** * Number validation * * @generated from field: optional double minimum = 10; */ minimum?: number; /** * @generated from field: optional double maximum = 11; */ maximum?: number; /** * @generated from field: optional double exclusive_minimum = 12; */ exclusiveMinimum?: number; /** * @generated from field: double exclusive_maximum = 13; */ exclusiveMaximum: number; /** * @generated from field: optional double multiple_of = 14; */ multipleOf?: number; /** * Enum values - JSON Schema compliant (just values, not objects) * * @generated from field: repeated google.protobuf.Value enum = 15; */ enum: Value[]; /** * JSON Schema 2020-12 conditional validation * * @generated from field: optional pdfprofile.v2.FormField if_condition = 16; */ ifCondition?: FormField; /** * @generated from field: optional pdfprofile.v2.FormField then_condition = 17; */ thenCondition?: FormField; /** * @generated from field: optional pdfprofile.v2.FormField else_condition = 18; */ elseCondition?: FormField; /** * Array validation * * @generated from oneof pdfprofile.v2.FormField.items_definition */ itemsDefinition: { /** * For tuple validation, use prefix_items instead * * @generated from field: pdfprofile.v2.FormField items_single = 19; */ value: FormField; case: "itemsSingle"; } | { case: undefined; value?: undefined; }; /** * @generated from field: repeated pdfprofile.v2.FormField prefix_items = 20; */ prefixItems: FormField[]; /** * @generated from field: optional int32 min_items = 21; */ minItems?: number; /** * @generated from field: optional int32 max_items = 22; */ maxItems?: number; /** * @generated from field: optional bool unique_items = 23; */ uniqueItems?: boolean; /** * Object validation * * @generated from field: map properties = 24; */ properties: { [key: string]: FormField; }; /** * @generated from field: repeated string required = 25; */ required: string[]; /** * @generated from oneof pdfprofile.v2.FormField.additional_properties_definition */ additionalPropertiesDefinition: { /** * @generated from field: bool additional_properties_bool = 26; */ value: boolean; case: "additionalPropertiesBool"; } | { /** * @generated from field: pdfprofile.v2.FormField additional_properties_schema = 27; */ value: FormField; case: "additionalPropertiesSchema"; } | { case: undefined; value?: undefined; }; /** * Custom extensions (prefixed with x-) * * @generated from field: pdfprofile.v2.UIExtension x_ui = 28 [json_name = "x-ui"]; */ xUi?: UIExtension; /** * @generated from field: pdfprofile.v2.ErrorMessages x_error_messages = 29 [json_name = "x-error-messages"]; */ xErrorMessages?: ErrorMessages; /** * @generated from field: repeated pdfprofile.v2.EnumOption x_enum_options = 30 [json_name = "x-enum-options"]; */ xEnumOptions: EnumOption[]; }; /** * Describes the message pdfprofile.v2.FormField. * Use `create(FormFieldSchema)` to create a new message. */ export declare const FormFieldSchema: GenMessage;