ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
26 lines (25 loc) • 1.08 kB
TypeScript
import { type Component } from 'vue';
import type { A2UICommand, ActionPayload, BoxProps } from './types';
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<BoxProps, {
/** Host should call this when an action is handled at app level if needed */
emitAction: (payload: ActionPayload) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BoxProps> & Readonly<{}>, {
components: Record<string, Component<any>>;
commands: A2UICommand[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};