import { SCAuthTokenType } from '@selfcommunity/core';
import { ButtonProps, TextFieldProps } from '@mui/material';
export interface AccountSignInProps {
    /**
     * Overrides or extends the styles applied to the component.
     * @default null
     */
    className?: string;
    /**
     * Callback triggered for handling custom signin process instead of the default one
     * @param username
     * @param password
     * @default null
     */
    onSubmit?: (username: string, password: string) => void;
    /**
     * Callback triggered on success sign in
     * @param user
     * @default null
     */
    onSuccess?: (token: SCAuthTokenType) => void;
    /**
     * Default props to TextField Input
     * @default {variant: 'outlined'}
     */
    TextFieldProps?: TextFieldProps;
    /**
     * Default props to submit button Input
     * @default {variant: 'contained'}
     */
    ButtonProps?: ButtonProps;
    /**
     * Other props
     */
    [p: string]: any;
}
/**
 * > API documentation for the Community-UI AccountSignIn component. Learn about the available props and the CSS API.
 * > This component support [OAuth2 authentication](https://developers.selfcommunity.com/docs/api/authentication/oauth#password) protocol with grant_type password

 #### Import

 ```jsx
 import {AccountSignIn} from '@selfcommunity/ui';
 ```

 #### Component Name

 The name `SCAccountSignIn` can be used when providing style overrides in the theme.


 #### CSS

 |Rule Name|Global class|Description|
 |---|---|---|
 |root|.SCAccountSignIn-root|Styles applied to the root element.|
 |username|.SCAccountSignIn-username|Styles applied to the username TextField.|
 |password|.SCAccountSignIn-password|Styles applied to the password TextField.|

 *
 * @param inProps
 */
export default function AccountSignIn(inProps: AccountSignInProps): JSX.Element;
//# sourceMappingURL=AccountSignIn.d.ts.map