import type { useNamespace } from 'element-ultra/hooks'; import type { InjectionKey, ShallowReactive, ShallowRef, Slots } from 'vue'; import type { ProTableColumn, ProTableProps } from './pro-table'; export declare const proTableKey: InjectionKey<{ /** 表格插槽 */ proTableSlots: Readonly; /** 表格根组件属性 */ rootProps: ProTableProps; /** 组件命名空间 */ ns: ReturnType; /** 表格查询条件字符串 */ currentQueryStr: { value: string; }; /** 设置是否能够自动发起请求 */ setAutoQuery: (autoQuery: boolean) => void; /** 请求数据 */ fetchData: (resetPage?: boolean) => Promise; /** 加载状态 */ loading: ShallowRef; /** 默认查询参数, 重置时使用 */ defaultQuery: { value: Record; }; }>; export declare const proTableColumnsKey: InjectionKey<{ /** 表格列 */ columns: ShallowRef; /** 扁平化列 */ flattedColumns: ShallowRef; /** 保存配置 */ handleSave: () => void; /** 重置配置 */ handleReset: () => void; }>; export declare const proTableContextKey: InjectionKey<{ state: ShallowReactive<{ total: number; data: any[]; checked: any[]; }>; props: ProTableProps; fetchData: (resetPage?: boolean) => Promise; getQueryParams: () => { api: string; query: Record; extra?: Record; sortKeys?: Record; }; find: () => any[]; deleteRow: (index: number) => void; getColumns: () => ProTableColumn[]; }>; export declare const proTableHeightKey: InjectionKey<{ /** 设置tools高度 */ setToolsHeight: (height: number) => void; }>;