import { default as React } from 'react';
import { PageSchema } from '../types';
export interface PageAction {
    id: string;
    label: string;
    icon?: React.ReactNode;
    destructive?: boolean;
    run: (pageId: string, page: PageSchema) => void;
}
export interface PageNode {
    id: string;
    slug: string;
    name: string;
    title: string;
    children: PageNode[];
    pageId: string;
}
export interface ComponentTreeNode {
    id: string;
    name: string;
    isCategory: boolean;
    children?: ComponentTreeNode[];
}
