/// <reference types="react" />
import { Folder, FolderType, PickWithOptional } from '@parlor/common';
import { ServiceReturnType } from '@parlor/contexts/services-2';
type ModalProps = {
    folder?: PickWithOptional<Folder, 'id' | 'name' | 'type'>;
    onAfterSubmit?: (createdFolder: ServiceReturnType<'folder', 'create'>) => void;
    onClose: () => void;
    type: FolderType;
};
export declare const CreateFolderModal: ({ folder, type, onAfterSubmit, onClose }: ModalProps) => JSX.Element;
export {};
