import type { EditorObject } from '@/pages/editor/store/editorStore';

export type PageData = {
  id: number;
  width: number;
  height: number;
  elements: EditorObject[];
  backgroundType?: "color" | "gradient" | "image" | "video";
  backgroundColor?: string;
  backgroundGradient?: {
    from: string;
    to: string;
    angle: number;
  };
  backgroundImageUrl?: string;
  backgroundVideoUrl?: string;
};

