/// import type { Operation } from 'oas'; /** * With potentially supplied body and/or metadata we need to run through them against a given API * operation to see what's what and prepare any available parameters to be used in an API request * with `@readme/oas-to-har`. * */ export default function prepareParams(operation: Operation, body?: unknown, metadata?: Record): Promise<{ body?: any; cookie?: Record; files?: Record; formData?: any; header?: Record; path?: Record; query?: Record; server?: { selected: number; variables: Record; }; }>;