import type { SlotFn, ParamsSlotFn } from '@dao-style/core'; import { KeyValueLayoutProps, KeyValueLayoutItemDataProps } from './props'; type GetSlotIdPairValue = T extends { slotId: Key; value: infer Value; } ? Value : never; type RemoveKVPrefix = T extends `kv-${infer Target}-value` | `kv-${infer Target}-label` ? Target : (T extends `kv-${infer Target}` ? Target : T); type SlotType, AllSlotId extends WithSlotId['slotId'], SlotIdValueMap extends (WithSlotId['slotId'] extends string ? { [Key in AllSlotId]: GetSlotIdPairValue; } : never), Key extends string> = { row: { value: SlotIdValueMap[RemoveKVPrefix extends AllSlotId ? RemoveKVPrefix : never]; label: string; slotId: RemoveKVPrefix; tip: string; }; rowIndex: number; data: T[]; }; declare const DaoKeyValueLayout: { new (...args: any[]): { $: import("vue").ComponentInternalInstance; $data: {}; $props: Partial<{ data: KeyValueLayoutItemDataProps[]; column: number; direction: import("../../utils/types").Direction; }> & Omit boolean; }; direction: { type: import("vue").PropType; default: string; }; data: { type: import("vue").PropType; default: () => KeyValueLayoutItemDataProps[]; }; }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "column" | "direction">; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null; $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase boolean; }; direction: { type: import("vue").PropType; default: string; }; data: { type: import("vue").PropType; default: () => KeyValueLayoutItemDataProps[]; }; }>>, { ns: string; width: import("vue").ComputedRef; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { data: KeyValueLayoutItemDataProps[]; column: number; direction: import("../../utils/types").Direction; }, {}, string> & { beforeCreate?: ((() => void) | (() => void)[]) | undefined; created?: ((() => void) | (() => void)[]) | undefined; beforeMount?: ((() => void) | (() => void)[]) | undefined; mounted?: ((() => void) | (() => void)[]) | undefined; beforeUpdate?: ((() => void) | (() => void)[]) | undefined; updated?: ((() => void) | (() => void)[]) | undefined; activated?: ((() => void) | (() => void)[]) | undefined; deactivated?: ((() => void) | (() => void)[]) | undefined; beforeDestroy?: ((() => void) | (() => void)[]) | undefined; beforeUnmount?: ((() => void) | (() => void)[]) | undefined; destroyed?: ((() => void) | (() => void)[]) | undefined; unmounted?: ((() => void) | (() => void)[]) | undefined; renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}> | null, info: string) => boolean | void)[]) | undefined; }; $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 | undefined): import("vue").WatchStopHandle; } & Readonly boolean; }; direction: { type: import("vue").PropType; default: string; }; data: { type: import("vue").PropType; default: () => KeyValueLayoutItemDataProps[]; }; }>> & import("vue").ShallowUnwrapRef<{ ns: string; width: import("vue").ComputedRef; }> & {} & import("vue").ComponentCustomProperties & {}; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & import("vue").ComponentOptionsBase boolean; }; direction: { type: import("vue").PropType; default: string; }; data: { type: import("vue").PropType; default: () => KeyValueLayoutItemDataProps[]; }; }>>, { ns: string; width: import("vue").ComputedRef; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { data: KeyValueLayoutItemDataProps[]; column: number; direction: import("../../utils/types").Direction; }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new , AllSlotId extends WithSlotId["slotId"], SlotIdValueMap extends WithSlotId["slotId"] extends string ? { [Key in AllSlotId]: GetSlotIdPairValue; } : never>(props: { data: T_1[]; }) => { $props: Partial<{ data: KeyValueLayoutItemDataProps[]; column: number; direction: import("../../utils/types").Direction; } & {} & { data: T_1[]; }>; $slots: { default: SlotFn; } & { [key in `kv-${AllSlotId}`]: ParamsSlotFn>; } & { [x: `kv-${string}`]: ParamsSlotFn>; } & { [key_2 in `kv-${AllSlotId}-label`]: ParamsSlotFn>; } & { [key_3 in `kv-${AllSlotId}-value`]: ParamsSlotFn>; }; }); export default DaoKeyValueLayout;