import { ConfigService } from '@nestjs/config';
import { Response } from 'express';
import { AuthService } from './auth.service';
type ConsoleLoginBody = {
    phone?: string;
    otp?: string;
    returnTo?: string;
};
export declare class ConsoleController {
    private readonly auth;
    private readonly config;
    private readonly cookieName;
    constructor(auth: AuthService, config: ConfigService);
    loginPage(returnTo?: string, phone?: string, notice?: string, devOtp?: string, error?: string): string;
    requestOtp(body: ConsoleLoginBody, res: Response): Promise<void>;
    login(body: ConsoleLoginBody, res: Response): Promise<void>;
    logout(res: Response): void;
    private safeReturnTo;
    private docsPath;
    private loginPath;
    private consolePath;
    private consoleSessionMaxAge;
    private escape;
}
export {};
