import type { PanelType } from '../../events/types.js';
import type { ExampleModel, MediaContentModel, MediaTypeModel } from '../../models/index.js';
import type { OpenAPIEncoding } from '../../types/index.js';
export interface ExampleProps extends Pick<MediaTypeSamplesProps, 'onCopyClick' | 'onPanelToggle'> {
    example: ExampleModel;
    mimeType: string;
}
export interface ExampleValueProps extends Pick<MediaTypeSamplesProps, 'onCopyClick' | 'onPanelToggle'> {
    value: GenericObject | string;
    mimeType: string;
    encoding?: {
        [field: string]: OpenAPIEncoding;
    };
}
export interface MediaTypeSamplesProps {
    mediaType: MediaTypeModel;
    properties?: GenericObject;
    onChange: (key: any) => void;
    onCopyClick?: () => void;
    onPanelToggle?: (isExpanded: boolean, panelType?: PanelType) => void;
}
export interface PayloadSamplesProps extends Pick<MediaTypeSamplesProps, 'properties' | 'onCopyClick' | 'onPanelToggle'> {
    content: MediaContentModel;
    onlyDefaultMimeType?: boolean;
}
