import { FunctionComponent } from 'react'; import type { IObject } from './interface'; declare const defaultDevUi: { toolbar: {}; table: {}; form: {}; query: {}; }; interface IUdpCtxProvider

extends FunctionComponent

{ } declare const UdpCtxProvider: IUdpCtxProvider<{ themeVars: any; children: any; }>; declare function useUdpCtx(): { themeVars: import("./interface").PartialAll<{ token: { colorInfo: string; borderRadius: number; lineHeight: number; colorTextDisabled: string; colorLinkHover: string; colorLinkActive: string; colorText: string; fontSize: number; colorPrimary: string; controlHeight: number; }; custom: { gap: number; table: { headerHeight: number; rowHeight: number; bordered: boolean; pageSize: number; }; form: { labelWidth: number; responsive: boolean; labelPosition: string; labelAlign: string; colspan: number; }; help: { width: number; height: number; headerHeight: number; }; }; }>; state?: IObject | undefined; }; declare function useDefaultProps(props: any, key: 'table' | 'form' | 'help'): any; /** * * @param type 元数据类型 * @param id 组件id或者业务类型(内嵌查询) * @param props 当前组件合并前的属性 * @param itemsKey 子组件集合的key * @param itemKey 子组件的key * @param items 子组件的状态集合,可选,优先级高于props[itemsKey] * @returns */ declare function useDevState

({ type, id, props, itemsKey, itemKey, items }: { type: keyof typeof defaultDevUi; id?: string; props: P; itemsKey?: string; itemKey: string; items?: IObject[]; }): [P, T[], Function]; export { UdpCtxProvider, useDefaultProps, useUdpCtx, useDevState };