import type { OpenAPIV3 } from 'openapi-types'; import type { ParseContextType } from '../../../context/parseTypes.js'; import type { BrokenPathParameter } from '../../pathParameters.js'; import { OasPathItem } from '../../../oas/pathItem/PathItem.js'; import type { StackTrail } from '../../../context/StackTrail.js'; export type ToPathItemV3Args = { pathItem: OpenAPIV3.PathItemObject; stackTrail: StackTrail; context: ParseContextType; }; export type PathItemV3 = { pathItem: OasPathItem; /** Path-level parameters that failed to parse; the caller drops each operation they apply to. */ brokenParameters: BrokenPathParameter[]; }; export declare const toPathItemV3: ({ pathItem, stackTrail, context }: ToPathItemV3Args) => PathItemV3;