import { CSSProperties } from 'react';

export interface WhpConfig {
  user: string;
  apiUrl: string;
  csrfToken: string;
  siteId: number;
  siteDomain: string;
  siteName: string;
  backUrl: string;
  isRoot: boolean;
}

export interface PageData {
  id: string;
  name: string;
  slug: string;
  craftState: string | null;
}

export interface AssetData {
  name: string;
  url: string;
  type: string;
  size?: number;
  modified?: number;
}

export interface StyleProps {
  style?: CSSProperties;
}

export type DeviceMode = 'desktop' | 'tablet' | 'mobile';
