import type { MultipartNaming } from '@scalar/types/api-reference'; import type { MediaTypeObject, SchemaObject } from '../../../schemas/v3.2/strict/openapi-document.js'; /** ASP.NET Core binds named form fields. Ordered and nested MIME bodies use their own encodings. */ export declare const usesAspNetFormNaming: (contentType: string, media: MediaTypeObject | undefined, multipartNaming?: MultipartNaming) => boolean; type FormField = { name: string; /** Encoding entries use the original property name, before indexed-dot flattening. */ rootName: string; value: unknown; schema: SchemaObject | undefined; isRequired: boolean; isDisabled: boolean; isDisabledByDefault?: boolean; isArray?: boolean; }; /** Map a structured example or saved editor rows to the field names understood by ASP.NET Core. */ export declare const getAspNetFormFields: (value: unknown, schema: SchemaObject | undefined, compositionSelection?: Record, includeMissing?: boolean) => FormField[]; /** Add explicit indices for sparse collections so MVC binds items beyond the first gap. */ export declare const getAspNetFormIndexFields: (names: string[]) => { key: string; value: string; }[]; /** Include file upload examples when generating snippets for schema-backed multipart fields. */ export declare const withAspNetMultipartFilePlaceholder: (field: FormField, includeMissing: boolean, contentType?: string) => FormField; export {}; //# sourceMappingURL=aspnet-form-fields.d.ts.map