import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.dns.v1";
/** A DNS zone. For details about the concept, see [DNS zones](/docs/dns/concepts/dns-zone). */
export interface DnsZone {
    /** ID of the DNS zone. Generated at creation time. */
    id: string;
    /** ID of the folder that the DNS zone belongs to. */
    folderId: string;
    /** Creation timestamp. */
    createdAt?: Date;
    /**
     * Name of the DNS zone.
     * The name is unique within the folder.
     */
    name: string;
    /** Description of the DNS zone. */
    description: string;
    /** DNS zone labels as `key:value` pairs. */
    labels: {
        [key: string]: string;
    };
    /** DNS zone suffix. */
    zone: string;
    /**
     * Privately visible zone settings.
     * Specifies whether records within the zone are visible from a VPC networks only.
     */
    privateVisibility?: PrivateVisibility;
    /**
     * Publicly visible zone settings.
     * Indicates whether records within the zone are publicly visible.
     */
    publicVisibility?: PublicVisibility;
    /** Prevents accidental zone removal. */
    deletionProtection: boolean;
}
export interface DnsZone_LabelsEntry {
    key: string;
    value: string;
}
/** A record set. For details about the concept, see [Resource record](/docs/dns/concepts/resource-record). */
export interface RecordSet {
    /** Domain name. */
    name: string;
    /** Record type. */
    type: string;
    /** Time to live in seconds. */
    ttl: number;
    /** Data of the record set. */
    data: string[];
}
/** Configuration for privately visible zones. */
export interface PrivateVisibility {
    /** Network IDs. */
    networkIds: string[];
}
/** Configuration for publicly visible zones. */
export interface PublicVisibility {
}
export declare const DnsZone: {
    encode(message: DnsZone, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DnsZone;
    fromJSON(object: any): DnsZone;
    toJSON(message: DnsZone): unknown;
    fromPartial<I extends {
        id?: string | undefined;
        folderId?: string | undefined;
        createdAt?: Date | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        zone?: string | undefined;
        privateVisibility?: {
            networkIds?: string[] | undefined;
        } | undefined;
        publicVisibility?: {} | undefined;
        deletionProtection?: boolean | undefined;
    } & {
        id?: string | undefined;
        folderId?: string | undefined;
        createdAt?: Date | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
        zone?: string | undefined;
        privateVisibility?: ({
            networkIds?: string[] | undefined;
        } & {
            networkIds?: (string[] & string[] & Record<Exclude<keyof I["privateVisibility"]["networkIds"], keyof string[]>, never>) | undefined;
        } & Record<Exclude<keyof I["privateVisibility"], "networkIds">, never>) | undefined;
        publicVisibility?: ({} & {} & Record<Exclude<keyof I["publicVisibility"], never>, never>) | undefined;
        deletionProtection?: boolean | undefined;
    } & Record<Exclude<keyof I, keyof DnsZone>, never>>(object: I): DnsZone;
};
export declare const DnsZone_LabelsEntry: {
    encode(message: DnsZone_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DnsZone_LabelsEntry;
    fromJSON(object: any): DnsZone_LabelsEntry;
    toJSON(message: DnsZone_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof DnsZone_LabelsEntry>, never>>(object: I): DnsZone_LabelsEntry;
};
export declare const RecordSet: {
    encode(message: RecordSet, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RecordSet;
    fromJSON(object: any): RecordSet;
    toJSON(message: RecordSet): unknown;
    fromPartial<I extends {
        name?: string | undefined;
        type?: string | undefined;
        ttl?: number | undefined;
        data?: string[] | undefined;
    } & {
        name?: string | undefined;
        type?: string | undefined;
        ttl?: number | undefined;
        data?: (string[] & string[] & Record<Exclude<keyof I["data"], keyof string[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof RecordSet>, never>>(object: I): RecordSet;
};
export declare const PrivateVisibility: {
    encode(message: PrivateVisibility, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PrivateVisibility;
    fromJSON(object: any): PrivateVisibility;
    toJSON(message: PrivateVisibility): unknown;
    fromPartial<I extends {
        networkIds?: string[] | undefined;
    } & {
        networkIds?: (string[] & string[] & Record<Exclude<keyof I["networkIds"], keyof string[]>, never>) | undefined;
    } & Record<Exclude<keyof I, "networkIds">, never>>(object: I): PrivateVisibility;
};
export declare const PublicVisibility: {
    encode(_: PublicVisibility, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PublicVisibility;
    fromJSON(_: any): PublicVisibility;
    toJSON(_: PublicVisibility): unknown;
    fromPartial<I extends {} & {} & Record<Exclude<keyof I, never>, never>>(_: I): PublicVisibility;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
