import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as OriginMaxHTTPVersionAPI from 'cloudflaredev/resources/zones/settings/origin-max-http-version';
export declare class OriginMaxHTTPVersionResource extends APIResource {
    /**
     * Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will
     * attempt to use with your origin. This setting allows Cloudflare to make HTTP/2
     * requests to your origin. (Refer to
     * [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/),
     * for more information.). The default value is "2" for all plan types except ENT
     * where it is "1"
     */
    edit(params: OriginMaxHTTPVersionEditParams, options?: Core.RequestOptions): Core.APIPromise<OriginMaxHTTPVersionEditResponse>;
    /**
     * Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will
     * attempt to use with your origin. This setting allows Cloudflare to make HTTP/2
     * requests to your origin. (Refer to
     * [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/),
     * for more information.). The default value is "2" for all plan types except ENT
     * where it is "1"
     */
    get(params: OriginMaxHTTPVersionGetParams, options?: Core.RequestOptions): Core.APIPromise<OriginMaxHTTPVersionGetResponse>;
}
/**
 * Value of the zone setting.
 */
export type OriginMaxHTTPVersion = 'origin_max_http_version';
/**
 * Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will
 * attempt to use with your origin. This setting allows Cloudflare to make HTTP/2
 * requests to your origin. (Refer to
 * [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/),
 * for more information.). The default value is "2" for all plan types except ENT
 * where it is "1"
 */
export interface OriginMaxHTTPVersionEditResponse {
    /**
     * Value of the zone setting.
     */
    id: OriginMaxHTTPVersion;
    /**
     * last time this setting was modified.
     */
    modified_on: string | null;
    /**
     * Value of the Origin Max HTTP Version Setting.
     */
    value: '2' | '1';
}
/**
 * Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will
 * attempt to use with your origin. This setting allows Cloudflare to make HTTP/2
 * requests to your origin. (Refer to
 * [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/),
 * for more information.). The default value is "2" for all plan types except ENT
 * where it is "1"
 */
export interface OriginMaxHTTPVersionGetResponse {
    /**
     * Value of the zone setting.
     */
    id: OriginMaxHTTPVersion;
    /**
     * last time this setting was modified.
     */
    modified_on: string | null;
    /**
     * Value of the Origin Max HTTP Version Setting.
     */
    value: '2' | '1';
}
export interface OriginMaxHTTPVersionEditParams {
    /**
     * Path param: Identifier
     */
    zone_id: string;
    /**
     * Body param: Value of the Origin Max HTTP Version Setting.
     */
    value: '2' | '1';
}
export interface OriginMaxHTTPVersionGetParams {
    /**
     * Identifier
     */
    zone_id: string;
}
export declare namespace OriginMaxHTTPVersionResource {
    export import OriginMaxHTTPVersion = OriginMaxHTTPVersionAPI.OriginMaxHTTPVersion;
    export import OriginMaxHTTPVersionEditResponse = OriginMaxHTTPVersionAPI.OriginMaxHTTPVersionEditResponse;
    export import OriginMaxHTTPVersionGetResponse = OriginMaxHTTPVersionAPI.OriginMaxHTTPVersionGetResponse;
    export import OriginMaxHTTPVersionEditParams = OriginMaxHTTPVersionAPI.OriginMaxHTTPVersionEditParams;
    export import OriginMaxHTTPVersionGetParams = OriginMaxHTTPVersionAPI.OriginMaxHTTPVersionGetParams;
}
//# sourceMappingURL=origin-max-http-version.d.ts.map