import type { GqlOperation } from './GqlOperation.js'; import { OasObject } from '../../oas/object/Object.js'; /** * Builds an `OasObject` representing the arguments tuple of a GraphQL * operation. * * Each argument becomes a property; required arguments without default * values go on the parent's `required` list (OAS convention). An * argument with both `required: true` and a non-undefined `defaultValue` * is *not* listed as required, because the caller can omit it and the * server fills in the default — surfacing it as required would be * misleading at the consumer side. * * Returns `undefined` when the operation takes no arguments. Callers can * use that to skip emitting an args type entirely. * * Lives in core (not in gen-graphql-operation) because it is generic * enough to be reused by any GraphQL operation generator and has no * generator-specific output assumptions. */ export declare const synthesizeArgsObject: (operation: GqlOperation) => OasObject | undefined;