UNPKG

@kubb/plugin-oas

Version:
24 lines (21 loc) 632 B
import * as react from 'react'; import { SchemaObject } from '@kubb/oas'; import { Key, KubbNode } from '@kubb/react/types'; import { f as Schema$1 } from './OperationGenerator-DiF6WJNP.cjs'; type SchemaContextProps = { name: string; schema?: SchemaObject; tree: Array<Schema$1>; }; type Props = { key?: Key; name: string; value?: SchemaObject; tree?: Array<Schema$1>; children?: KubbNode; }; declare function Schema({ name, value, tree, children }: Props): any; declare namespace Schema { var Context: react.Context<SchemaContextProps>; } export { Schema as S, type SchemaContextProps as a };