import { HttpMethod, OpenAPIOperationData, OpenAPISecuritySchemeData } from '../../types/openapi'; interface PathOperationProps { method: HttpMethod; path: string; op: OpenAPIOperationData; id: string | null; /** Prefix for this operation's DOM anchor ids, so webhook anchors stay distinct from endpoint ones. */ idPrefix?: string; /** Falls back to this when the operation doesn't declare its own `security`. */ globalSecurity?: Array>; /** Scheme definitions (`components.securitySchemes`), resolved by name against `security`'s requirements to render the actual scheme details, not just their names. */ securitySchemes?: Record; /** Opens the operation a response link points at, by its `operationId`. */ onFollowOperation?: (operationId: string) => void; /** Whether an `operationId` resolves to an operation in the same list, so a response link can be navigable rather than plain text. */ isOperationKnown?: (operationId: string) => boolean; /** Nesting level. A callback's operation may declare callbacks of its own, so past the first level they stop expanding rather than recursing without end. */ depth?: number; } export default function PathOperation({ method, path, op, id, idPrefix, globalSecurity, securitySchemes, onFollowOperation, isOperationKnown, depth, }: PathOperationProps): import("react").JSX.Element; export {};