/// import type { RestPageResponseInfo } from '@sinoui/use-rest-page-api'; import type { FormItemType } from './types'; export interface SearchListPageContextInterface { /** * 表格数据源 */ dataSource: RestPageResponseInfo; /** * 数据表格列 */ columns: FormItemType[]; /** * 自定义列上下文 */ customedColumnsContext: { /** * 所有可查询的字段 */ allFields: FormItemType[]; /** * 自定义表格列 */ items: string[]; /** * 更新自定义表格列 */ update(items: string[]): void; }; /** * 列表数据导出 */ handleListDataExport: () => void; /** * 导出接口 */ url: string; /** * 查询条件是否默认展开: 0折叠 1展开 */ defaultExpandQuery?: '0' | '1'; /** * 查询列表自定义查询条件中的数据状态字段转换js代码的方法执行名称 */ statusQueryScriptFnName?: string; } declare const SearchListPageContext: import("react").Context; export default SearchListPageContext;