import type { BaseUser, CardId, CollectionAuthorityLevel, CollectionId, DatabaseId, UserId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export type ModelCacheState = "creating" | "refreshing" | "persisted" | "error" | "deletable" | "off";
export interface ModelCacheRefreshStatus {
    id: number;
    state: ModelCacheState;
    error: string | null;
    active: boolean;
    card_archived?: boolean;
    card_type?: "model" | "question" | "metric";
    card_id: CardId;
    card_name: string;
    collection_id: CollectionId;
    collection_name: string;
    collection_authority_level: CollectionAuthorityLevel;
    columns: string[];
    database_id: DatabaseId;
    database_name: string;
    schema_name: string;
    table_name: string;
    refresh_begin: string;
    refresh_end: string;
    "next-fire-time": string;
    creator_id?: UserId;
    creator?: BaseUser;
}
