import type { IGridOptions } from '@formily/grid'; import { Grid } from '@formily/grid'; import type { PropType, Ref } from 'vue'; export interface IFormGridProps extends IGridOptions { grid?: Grid; prefixCls?: string; className?: string; } export declare const createFormGrid: (props: IFormGridProps) => Grid; export declare const useFormGrid: () => Ref>; /** * @deprecated */ export declare const useGridColumn: (gridSpan?: number) => number; export declare const FormGrid: { new (...args: any[]): { $: import("vue").ComponentInternalInstance; $data: {}; $props: { shouldVisible?: (node: import("@formily/grid").GridNode, grid: Grid) => boolean; colWrap?: boolean; strictAutoFit?: boolean; readonly columnGap?: number; readonly maxWidth?: number | unknown[]; readonly minWidth?: number | unknown[]; readonly rowGap?: number; readonly grid?: Grid; style?: unknown; key?: string | number | symbol; ref?: import("vue").VNodeRef; ref_for?: boolean; ref_key?: string; onVnodeBeforeMount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]; onVnodeMounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]; onVnodeBeforeUpdate?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]; onVnodeUpdated?: ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void) | ((vnode: import("vue").VNode, oldVNode: import("vue").VNode) => void)[]; onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]; onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[]; class?: unknown; readonly breakpoints?: unknown[]; readonly minColumns?: number | unknown[]; readonly maxColumns?: number | unknown[]; }; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot; }>; $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}>; $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}>; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase) => boolean>; default(): () => true; }; grid: { type: PropType>; }; }>>, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { shouldVisible: (node: import("@formily/grid").GridNode, grid: Grid) => boolean; colWrap: boolean; strictAutoFit: boolean; }, {}, string, {}> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}>, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import("vue").nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly) => boolean>; default(): () => true; }; grid: { type: PropType>; }; }>> & import("vue").ShallowUnwrapRef<() => import("ant-design-vue/es/_util/type").VueNode> & {} & import("vue").ComponentCustomProperties & {}; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase) => boolean>; default(): () => true; }; grid: { type: PropType>; }; }>>, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { shouldVisible: (node: import("@formily/grid").GridNode, grid: Grid) => boolean; colWrap: boolean; strictAutoFit: boolean; }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & { GridColumn: import("vue").DefineComponent<{ gridSpan: { type: NumberConstructor; default: number; }; }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, { gridSpan: number; }, {}>; useGridSpan: (gridSpan: number) => number; useFormGrid: () => Ref>; createFormGrid: (props: IFormGridProps) => Grid; }; export default FormGrid;