import { ItemDescriptor, Page, PageSkeleton } from "../pageModel";
import { ItemsRepository } from "./itemsRepository";
import { ParheliaSettings } from "../../types";
import { LayoutMode } from "./editContext";
export declare function usePageModel(itemsRepository: ItemsRepository | undefined, pageItemDescriptor?: ItemDescriptor, parheliaSettings?: ParheliaSettings, layoutMode?: LayoutMode): {
    setPageSkeleton: import("react").Dispatch<import("react").SetStateAction<PageSkeleton | undefined>>;
    page: Page | undefined;
};
