import { PrismaService } from '@hed-hog/api-prisma';
import { ConfigService } from '@nestjs/config';
import { SecurityService } from '../security/security.service';
import { SettingService } from '../setting/setting.service';
import { InstallDTO } from './dto/install.dto';
export declare class InstallService {
    private readonly security;
    private readonly prisma;
    private readonly configService;
    private readonly settingService;
    private readonly logger;
    constructor(security: SecurityService, prisma: PrismaService, configService: ConfigService, settingService: SettingService);
    private normalizeUrl;
    private forceReset;
    private checkInstallation;
    private updateEnvSecrets;
    private parseEnv;
    private base64Encode;
    install({ adminUrl, apiUrl, appName, email, password, slogan, userName, }: InstallDTO): Promise<{
        success: boolean;
    }>;
    check(): Promise<{
        success: boolean;
        installed: boolean;
    }>;
    generateMailMigration({ slug, translations, variables, }: {
        slug: string;
        translations: Array<{
            locale_code: string;
            subject: string;
            body: string;
        }>;
        variables: string[];
    }): Promise<{
        success: boolean;
        migrationName: string;
        path: string;
    }>;
}
//# sourceMappingURL=install.service.d.ts.map