import type { CnAiBizRequestConfig } from '../../../cn-ai-table/types';
import type { ViewsData } from '../../../cn-ai-table/view/types/model';
/** 将业务接口或 `tableView` 原始数据的多层包结构规整为 `ViewsData`（直连读路径复用） */
export declare function normalizeViewsResponse(raw: unknown): ViewsData;
/** 源码配置 `queryViewsUrl` 时拉取视图；无 URL 或失败则空 */
export declare function queryTableViews(tableId: string, bizRequestConfig?: CnAiBizRequestConfig): Promise<ViewsData>;
/** 源码配置 `saveViewsUrl` 时持久化视图；无 URL 则 no-op */
export declare function saveTableViews(params: {
    tableId: string;
    viewsData: ViewsData;
    nodeId?: string;
}, bizRequestConfig?: CnAiBizRequestConfig): Promise<void>;
