import { ReactNode } from 'react'; declare function SchemaTabs({ schema, label, rootName, description, schemaFormat, originalSchema, conversionError, pendingConversion, example, defaultView, }: { /** JSON Schema to render in the Schema/Example tabs. */ schema: unknown; /** Heading shown above the tab toggle, e.g. "Payload" or "Headers" — can embed interactive content, e.g. a media type selector. */ label: ReactNode; /** * Path prefix for schema tree rows. Defaults to `label`. Use when the heading * should include extra context (e.g. media type) that must not appear in paths. */ rootName?: string; description?: string; /** Declared multi-format wrapper (e.g. Avro, Protobuf) this schema was converted from, if any. */ schemaFormat?: string; /** The pre-conversion schema, shown in the JSON tab instead of the converted `schema`. */ originalSchema?: unknown; /** When set, conversion from `schemaFormat` failed: shown as a warning and hides the Example tab. */ conversionError?: string; /** True while a Protobuf converter is still loading, see lazyProtoToJsonSchema.ts. */ pendingConversion?: boolean; /** A real example value declared in the spec (OpenAPI media type `example`/`examples`, or an AsyncAPI message example) — shown as-is on the Example tab instead of auto-generating one. */ example?: unknown; /** * Which view opens first. Defaults to "example", the right call for a body * or payload, where a sample value is the most useful thing to see. Pass * "schema" for groups whose values are generated at runtime and so can only * ever be faked here (request parameters, response headers), where the * documented name/type/description is what the reader actually wants. */ defaultView?: "schema" | "example"; }): import("react").JSX.Element; export default SchemaTabs;