import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as WebPAPI from 'cloudflaredev/resources/zones/settings/webp';
export declare class WebPResource extends APIResource {
    /**
     * When the client requesting the image supports the WebP image codec, and WebP
     * offers a performance advantage over the original image format, Cloudflare will
     * serve a WebP version of the original image.
     */
    edit(params: WebPEditParams, options?: Core.RequestOptions): Core.APIPromise<WebP>;
    /**
     * When the client requesting the image supports the WebP image codec, and WebP
     * offers a performance advantage over the original image format, Cloudflare will
     * serve a WebP version of the original image.
     */
    get(params: WebPGetParams, options?: Core.RequestOptions): Core.APIPromise<WebP>;
}
/**
 * When the client requesting the image supports the WebP image codec, and WebP
 * offers a performance advantage over the original image format, Cloudflare will
 * serve a WebP version of the original image.
 */
export interface WebP {
    /**
     * ID of the zone setting.
     */
    id: 'webp';
    /**
     * Current value of the zone setting.
     */
    value: 'off' | 'on';
    /**
     * 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 WebPEditParams {
    /**
     * Path param: Identifier
     */
    zone_id: string;
    /**
     * Body param: Value of the zone setting.
     */
    value: 'off' | 'on';
}
export interface WebPGetParams {
    /**
     * Identifier
     */
    zone_id: string;
}
export declare namespace WebPResource {
    export import WebP = WebPAPI.WebP;
    export import WebPEditParams = WebPAPI.WebPEditParams;
    export import WebPGetParams = WebPAPI.WebPGetParams;
}
//# sourceMappingURL=webp.d.ts.map