import { HostedZone, RRType } from "@aws-sdk/client-route-53";
import { Service } from "@webda/core";
export declare class Route53Service extends Service {
    /**
     * Get the closest zone to the domain
     *
     * @param domain to get zone for
     */
    static getZoneForDomainName(domain: any): Promise<HostedZone>;
    static completeDomain(domain: string): string;
    /**
     * Create DNS entry
     *
     * @param domain to create
     * @param type of DNS
     * @param value the value of the record
     * @param targetZone
     */
    static createDNSEntry(domain: string, type: RRType, value: string, targetZone?: HostedZone, Comment?: string): Promise<void>;
    /**
     * Return all entries of a zone in AWS
     *
     * @param domain to retrieve from
     */
    static getEntries(domain: string): Promise<any[]>;
    /**
     * Import all records to Route53
     * @param file
     */
    static import(options: {
        file: string;
        pretend?: boolean;
        sync?: boolean;
    }, Console: any): Promise<void>;
    /**
     * Export all records from Route53 into a file
     *
     * @param domain to export
     * @param file to export to (can be .json or .yml)
     */
    static export(domain: string, file: string): Promise<void>;
    /**
     * Manage the shell command
     *
     * @param Console
     * @param args
     */
    static shell(Console: any, args: any): Promise<void>;
}
