import type { AuthMethod, LegaleRequestOptions, LegaleFetchObject } from './interfaces/index.js'; export declare class LegaleAuth { #private; get token(): string | undefined; get apiKey(): string | undefined; get isLogged(): boolean; get authMethod(): AuthMethod | null; constructor(legaleFetch?: LegaleFetchObject); getToken(email: string, password: string, options?: LegaleRequestOptions): Promise; setAPIKey(apiKey: string): void; logout(): void; }