import type { CnAiBizRequestConfig } from '../../../cn-ai-table/types/ai-runtime-config';
import { isCubeDirect } from '../../cube-platform/isCubeDirect';
import type { CreateOrModifyAiColumnParams, CreateOrModifyAiColumnResult, RemoveAiColumnParams, RemoveAiColumnResult, QueryAiTableColumnsParams, QueryAiTableColumnsResult, QueryTableTasksParams, QueryTableTasksResult } from './types';
/** 与视图 `cubePlatformUserConfigRowId` 共用 */
export interface AiColumnCubePlatformContext {
    userCubeConfigRowIdHint?: string;
    onUserCubeConfigRowId?: (rowId: string) => void;
}
/** @deprecated 语义同 {@link isCubeDirect}，保留兼容旧引用 */
export declare function isAiColumnCubePlatformSourceMode(tableId: string | undefined, bizRequestConfig?: Pick<CnAiBizRequestConfig, 'cubePlatform'> | null): boolean;
export declare function queryAiTableColumnsViaCubePlatform(params: QueryAiTableColumnsParams, cubePlatformCtx?: AiColumnCubePlatformContext, bizRequestConfig?: Pick<CnAiBizRequestConfig, 'cubePlatform'> | null): Promise<QueryAiTableColumnsResult>;
export declare function createOrModifyAiColumnViaCubePlatform(params: CreateOrModifyAiColumnParams, cubePlatformCtx?: AiColumnCubePlatformContext, bizRequestConfig?: Pick<CnAiBizRequestConfig, 'cubePlatform'> | null): Promise<CreateOrModifyAiColumnResult>;
export declare function queryTableTasksViaCubePlatform(params: QueryTableTasksParams, cubePlatformCtx?: AiColumnCubePlatformContext, bizRequestConfig?: Pick<CnAiBizRequestConfig, 'cubePlatform'> | null): Promise<QueryTableTasksResult>;
export declare function removeAiColumnViaCubePlatform(params: RemoveAiColumnParams, cubePlatformCtx?: AiColumnCubePlatformContext, bizRequestConfig?: Pick<CnAiBizRequestConfig, 'cubePlatform'> | null): Promise<RemoveAiColumnResult>;
export { isCubeDirect };
