import { DefaultStructure, FlowModel } from '@nocobase/flow-engine';
import React from 'react';
export type BlockSceneType = 'new' | 'filter' | 'one' | 'many' | 'select' | 'subForm' | 'bulkEditForm' | BlockSceneType[];
export declare const BlockSceneEnum: {
    new: BlockSceneType;
    one: BlockSceneType;
    many: BlockSceneType;
    select: BlockSceneType;
    filter: BlockSceneType;
    oam: BlockSceneType;
    subForm: BlockSceneType;
    bulkEditForm: BlockSceneType;
};
export declare class BlockModel<T = DefaultStructure> extends FlowModel<T> {
    decoratorProps: Record<string, any>;
    static scene: BlockSceneType;
    _defaultCustomModelClasses: any;
    customModelClasses: any;
    collectionRequired: boolean;
    private ObservedRenderComponent;
    /**
     * 记录各筛选来源是否活跃（有有效筛选值）
     * key: filterId (筛选器 uid), value: boolean (是否有有效筛选)
     */
    private activeFilterSources;
    /**
     * 设置指定筛选来源的活跃状态
     * @param filterId 筛选器 uid
     * @param active 是否有有效筛选值
     */
    setFilterActive(filterId: string, active: boolean): void;
    /**
     * 检查是否有任何活跃的筛选来源
     * @returns boolean
     */
    hasActiveFilters(): boolean;
    /**
     * 移除指定筛选来源
     * @param filterId 筛选器 uid
     */
    removeFilterSource(filterId: string): void;
    /**
     * 获取数据加载模式
     * @returns 'auto' | 'manual'
     */
    getDataLoadingMode(): 'auto' | 'manual';
    static _getScene(): BlockSceneType[];
    static _isScene(scene: BlockSceneType): boolean;
    getModelClassName(className: string): any;
    protected renderHiddenInConfig(): React.ReactNode | undefined;
    onInit(options: any): void;
    setDecoratorProps(props: any): void;
    get title(): string;
    protected defaultBlockTitle(): string;
    renderComponent(): any;
    render(): React.JSX.Element;
}
