import type { TFunction } from '@redocly/theme/core/openapi'; import type { ReactNode } from 'react'; import type { OperationModel } from '../../models'; import type { PanelType } from '../../events/types'; export interface RequestProps { operation: Pick; title?: string | ReactNode; translate?: TFunction; onPanelToggle?: (isExpanded: boolean, panelType?: PanelType) => void; }