import type { Context, KeyboardEvent } from 'react'; import { Component } from 'react'; import type { RedocProNormalizedOptions } from '../../../../services/ProStore'; import type { FieldModel } from '../../services/models'; import type { SchemaOptions } from '../Schema/types'; export interface FieldProps extends SchemaOptions { className?: string; isLast?: boolean; showExamples?: boolean; field: FieldModel; expandByDefault?: boolean; renderDiscriminatorSwitch?: (opts: FieldProps) => JSX.Element; } export declare class Field extends Component { static contextType: Context; context: RedocProNormalizedOptions; toggle: () => void; handleKeyPress: (event: KeyboardEvent) => void; render(): JSX.Element; }