import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as MirageAPI from 'cloudflaredev/resources/zones/settings/mirage';
export declare class MirageResource extends APIResource {
    /**
     * Automatically optimize image loading for website visitors on mobile devices.
     * Refer to our
     * [blog post](http://blog.cloudflare.com/mirage2-solving-mobile-speed) for more
     * information.
     */
    edit(params: MirageEditParams, options?: Core.RequestOptions): Core.APIPromise<Mirage>;
    /**
     * Automatically optimize image loading for website visitors on mobile devices.
     * Refer to our
     * [blog post](http://blog.cloudflare.com/mirage2-solving-mobile-speed) for more
     * information.
     */
    get(params: MirageGetParams, options?: Core.RequestOptions): Core.APIPromise<Mirage>;
}
/**
 * Automatically optimize image loading for website visitors on mobile devices.
 * Refer to
 * [our blog post](http://blog.cloudflare.com/mirage2-solving-mobile-speed) for
 * more information.
 */
export interface Mirage {
    /**
     * ID of the zone setting.
     */
    id: 'mirage';
    /**
     * 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 MirageEditParams {
    /**
     * Path param: Identifier
     */
    zone_id: string;
    /**
     * Body param: Value of the zone setting.
     */
    value: 'on' | 'off';
}
export interface MirageGetParams {
    /**
     * Identifier
     */
    zone_id: string;
}
export declare namespace MirageResource {
    export import Mirage = MirageAPI.Mirage;
    export import MirageEditParams = MirageAPI.MirageEditParams;
    export import MirageGetParams = MirageAPI.MirageGetParams;
}
//# sourceMappingURL=mirage.d.ts.map