import * as React from 'react'; import { IJaenTemplate } from '../../../../../types'; import { CreateValues } from '../PageCreator'; export type Items = { [id: string]: { data: { title: string; slug: string; template: Omit | null; deleted?: true; }; isRootItem?: true; children: string[]; parent: string | null; }; }; export type PageTreeProps = { items: Items; selection?: string; templates: { name: string; displayName: string; }[]; onItemSelect: (id: string | null) => void; onItemDoubleClick: (id: string) => void; onItemCreate: (parentId: string | null, values: CreateValues) => void; onItemDelete: (id: string) => void; onItemMove: (id: string, oldParentId: string | null, newParentId: string | null) => void; }; declare const PageTree: React.FC; export default PageTree;