import { DashboardAndChartAuthType } from './enum';
export declare type Locale = 'zh_CN' | 'en_US' | 'ja_JP';
export interface MultiLangItem {
    resource_type: string;
    resource_key: string;
    resource_field: string;
    disabled?: string;
    content: {
        en_US?: string;
        zh_CN?: string;
        ja_JP?: string;
    };
}
/**
 * 展示的i18n信息
 */
export declare type I18nInfo = MultiLangItem[];
export interface DashboardReport {
    /**
     * 图表所属应用 ID
     */
    app_id: string | number;
    /**
     * 图表所属应用的名称
     */
    app_name?: string;
    /**
     * 图表创建人 ID
     */
    creator: string;
    /**
     * 图表协作者id列表，协作者功能已废弃
     */
    partners: string[];
    /**
     * 图表协作者id列表，协作者功能已废弃
     */
    partner_info: {
        [id: string]: {
            email: string;
            head_url: string;
            id: number;
            nickname: string;
            username: string;
            user_config: {
                lang: Locale;
                current_app_id?: number;
            };
        };
    };
    /**
     * is_preset 是否预置图表
     */
    is_preset: boolean;
    /**
     * 图表ID
     */
    report_id: string;
    /**
     * 图表名称
     */
    report_name: string;
    /**
     * 图表类型
     */
    report_type: 'fusion_analysis';
    /**
     * 所属看板id
     */
    dashboard_id?: string;
    /**
     * edit_id
     */
    edit_id?: string;
    from_report_id?: string;
    /**
     * 额外信息
     */
    extra?: {
        report_desc: string;
        /**
         * 是否是融合分析图表
         */
        joint_analysis?: boolean;
        /**
         * 图表来源（"cdp"/"gmp"/"finder"）
         */
        source_product?: string;
    };
    /**
     * 权限信息，当前用户的对当前图表的权限
     */
    current_user: DashboardAndChartAuthType;
    /**
     * min_auth_role
     */
    min_auth_role: DashboardAndChartAuthType;
    /**
     * 运行时已修改
     */
    runtimeChanged?: boolean;
    i18n_info?: I18nInfo;
}
