export {};

declare global {
    /**
     * comment
     */
    namespace Forms {
        export interface Response {
            status: number;
            response: string;
        }
        export interface Data {
            username?: string;
            password?: string;
        }
        /**
         */
        export interface Login {
            submit: () => Promise<void>;
            credentials: Data;
            setCredentials: any;
            response?: Response;
            className?: string;
            recovery?: string;
            signIn?: string;
            loader: string;
        }

        /**
         *
         */
        export interface Body {
            username: string;
            password: string;
        }

        /**
         * comment
         */
        declare function Username(value: string): void;

        /**
         * comment
         */
        declare function Password(value: string): void;

        /**
         * comment
         */
        declare function Data(body: Body): Promise<boolean>;
    }
}
