/// <reference types="react" />
export type CreateAccountFormValues = {
    displayName: string;
};
export type CreateAccountModalProps = {
    onCancel: () => void;
    onSubmit: (values: {
        displayName: string;
    }) => Promise<unknown>;
    validateAccountName: (name: string) => Promise<boolean>;
};
export declare const CreateAccountModal: ({ onSubmit, onCancel, validateAccountName }: CreateAccountModalProps) => JSX.Element;
