import { OpenAPILinkData } from '../../types/openapi'; /** * A response's `links`: which operation you can call next using values from * this response. Rendered as a small annotated note rather than a tab or * table, since a link is a design-time relationship worth pointing at, not a * view of the response itself. * * The link's own `description` is the clickable part, so the sentence reads as * documentation ("Fetch the newly created user using ...") rather than naming * an operationId the reader has no other use for. It falls back to the target * itself when a link declares no description. */ interface ResponseLinksProps { links: Record; /** Opens the operation with this `operationId`. Omitted when nothing can navigate. */ onFollowOperation?: (operationId: string) => void; /** Whether `operationId` resolves to an operation in the current list, so the target can be a link rather than plain text. */ isOperationKnown?: (operationId: string) => boolean; } export default function ResponseLinks({ links, onFollowOperation, isOperationKnown, }: ResponseLinksProps): import("react").JSX.Element; export {};