import { DictStoreInterface } from 'yc-pro-components/es/constants'; /** * 提供字典 Store 给子组件 * @param dictStore 字典 Store 实例,必须实现 DictStoreInterface 接口 * @description 在父组件中调用此函数,将字典 Store 提供给所有子组件使用 * @version v0.2.0 * @example * ```vue * * * * * ``` * * ```ts * // 子组件中使用 autoDict * const columns: PlusColumn[] = [ * { * label: '状态', * prop: 'status', * valueType: 'select', * autoDict: true // 自动从父组件注入的 dictStore 获取 * } * ] * ``` */ export declare function useDictInjection(dictStore: DictStoreInterface): void;