import React from "react"; import * as Yup from "yup"; import { EntityCollection, Role } from "@firecms/core"; export declare const getRoleYupSchema: (t: any) => Yup.ObjectSchema<{ id: string; name: string; }, Yup.AnyObject, { id: undefined; name: undefined; }, "">; export declare function RolesDetailsForm({ open, role, editable, handleClose, collections }: { open: boolean; editable?: boolean; role?: Role; handleClose: () => void; collections?: EntityCollection[]; }): React.JSX.Element;