import * as React from "react";
import { BasicAuthCallback } from "../interfaces";
export interface BasicAuthFormProps {
    hide: () => void;
    saveCredentials: (credentials: string) => void;
    callback?: BasicAuthCallback;
    title?: string;
    loginLabel?: string;
    passwordLabel?: string;
    error?: string;
}
export default class BasicAuthForm extends React.Component<BasicAuthFormProps, any> {
    constructor(props: any);
    render(): JSX.Element;
    componentWillReceiveProps(nextProps: any): void;
    loginLabel(): string;
    passwordLabel(): string;
    validate(): boolean;
    submit(event: any): void;
    generateCredentials(login: any, password: any): string;
}
