import { ItemDescriptor } from "../editor/pageModel";
import { DialogProps } from "../editor/client/editContext";
type CreatedPageNavigation = {
    loadItem: (item: ItemDescriptor) => Promise<unknown>;
    switchWorkspace: (workspaceId: "editor") => void;
};
export declare function completeCreatedPageNavigation(createdItem: ItemDescriptor | undefined, navigation: CreatedPageNavigation | undefined, onClose?: () => void): Promise<void>;
export declare function NewPage({ selectedItemId, onClose, }: {
    selectedItemId?: string;
} & Partial<DialogProps<void>>): import("react").JSX.Element;
export {};
