import { type DashboardDAO } from './dashboard';
import { type SavedChartDAO } from './savedCharts';
import { type SpaceSummaryBase } from './space';
export declare enum PromotionAction {
    NO_CHANGES = "no changes",
    CREATE = "create",
    UPDATE = "update",
    DELETE = "delete"
}
export type PromotedSpace = SpaceSummaryBase;
export type PromotedDashboard = DashboardDAO & {
    spaceSlug: string;
    spacePath: string;
};
export type PromotedChart = SavedChartDAO & {
    spaceSlug: string;
    spacePath: string;
    oldUuid: string;
};
export type PromotedSqlChart = {
    uuid: string;
    oldUuid: string;
    slug: string;
    projectUuid: string;
    name: string;
    description: string | null;
    spaceSlug: string;
    spacePath: string;
};
export type PromotionChanges = {
    spaces: {
        action: PromotionAction;
        data: PromotedSpace;
    }[];
    dashboards: {
        action: PromotionAction;
        data: PromotedDashboard;
    }[];
    charts: {
        action: PromotionAction;
        data: PromotedChart;
    }[];
    sqlCharts?: {
        action: PromotionAction;
        data: PromotedSqlChart;
    }[];
};
export type ApiPromoteChartResponse = {
    status: 'ok';
    results: SavedChartDAO;
};
export type ApiPromoteDashboardResponse = {
    status: 'ok';
    results: DashboardDAO;
};
export type ApiPromotionChangesResponse = {
    status: 'ok';
    results: PromotionChanges;
};
//# sourceMappingURL=promotion.d.ts.map