import { ApiError } from '@dvn/core/api';
import { CreateSessionResponse } from '@dvn/kimlik/api/dto';
import { KimlikApi } from '@dvn/kimlik/api/kimlik-api';
import { Storage } from '@dvn/kimlik/storage/Storage.interface';
export declare class LoginForm {
  progressing: boolean;
  error?: ApiError;
  /**
   * Data to pre-fill.
   */
  data: object;
  onLogin?: (data: CreateSessionResponse) => void;
  redirect?: string;
  api: KimlikApi;
  storage: Storage;
  render(): any;
  private onSubmit;
  private onLoginSucceed;
  private onError;
}
