import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as IPGeolocationAPI from 'cloudflaredev/resources/zones/settings/ip-geolocation';
export declare class IPGeolocationResource extends APIResource {
    /**
     * Enable IP Geolocation to have Cloudflare geolocate visitors to your website and
     * pass the country code to you.
     * (https://support.cloudflare.com/hc/en-us/articles/200168236).
     */
    edit(params: IPGeolocationEditParams, options?: Core.RequestOptions): Core.APIPromise<IPGeolocation>;
    /**
     * Enable IP Geolocation to have Cloudflare geolocate visitors to your website and
     * pass the country code to you.
     * (https://support.cloudflare.com/hc/en-us/articles/200168236).
     */
    get(params: IPGeolocationGetParams, options?: Core.RequestOptions): Core.APIPromise<IPGeolocation>;
}
/**
 * Enable IP Geolocation to have Cloudflare geolocate visitors to your website and
 * pass the country code to you.
 * (https://support.cloudflare.com/hc/en-us/articles/200168236).
 */
export interface IPGeolocation {
    /**
     * ID of the zone setting.
     */
    id: 'ip_geolocation';
    /**
     * Current value of the zone setting.
     */
    value: 'on' | 'off';
    /**
     * Whether or not this setting can be modified for this zone (based on your
     * Cloudflare plan level).
     */
    editable?: true | false;
    /**
     * last time this setting was modified.
     */
    modified_on?: string | null;
}
export interface IPGeolocationEditParams {
    /**
     * Path param: Identifier
     */
    zone_id: string;
    /**
     * Body param: Value of the zone setting.
     */
    value: 'on' | 'off';
}
export interface IPGeolocationGetParams {
    /**
     * Identifier
     */
    zone_id: string;
}
export declare namespace IPGeolocationResource {
    export import IPGeolocation = IPGeolocationAPI.IPGeolocation;
    export import IPGeolocationEditParams = IPGeolocationAPI.IPGeolocationEditParams;
    export import IPGeolocationGetParams = IPGeolocationAPI.IPGeolocationGetParams;
}
//# sourceMappingURL=ip-geolocation.d.ts.map