import type { OasParameter } from '../parameter/Parameter.js'; import type { OasRef } from '../ref/Ref.js'; type Parameter = OasParameter | OasRef<'parameter'>; type ToEffectiveParametersArgs = { /** The operation's own parameters. */ own: Parameter[] | undefined; /** The parameters of the operation's path item. */ shared: Parameter[] | undefined; }; /** * The parameters that apply to an operation or webhook, as OpenAPI defines * them: the path item's first, then its own. An own parameter with the same * name and location replaces the path item's. References stay references. * * A reference that names nothing (kept when `system.danglingRefs` lists * `parameter`) has no name or location. It keeps its place, and only the * same `$ref` replaces it. */ export declare const toEffectiveParameters: ({ own, shared }: ToEffectiveParametersArgs) => Parameter[]; /** * True for a parameter `$ref` that names nothing in the document, which the * parser keeps when `system.danglingRefs` lists `parameter`. */ export declare const namesNothing: (parameter: Parameter) => boolean; export {};