import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as H2PrioritizationAPI from 'cloudflaredev/resources/zones/settings/h2-prioritization';
export declare class H2PrioritizationResource extends APIResource {
    /**
     * Gets HTTP/2 Edge Prioritization setting.
     */
    edit(params: H2PrioritizationEditParams, options?: Core.RequestOptions): Core.APIPromise<H2Prioritization>;
    /**
     * Gets HTTP/2 Edge Prioritization setting.
     */
    get(params: H2PrioritizationGetParams, options?: Core.RequestOptions): Core.APIPromise<H2Prioritization>;
}
/**
 * HTTP/2 Edge Prioritization optimises the delivery of resources served through
 * HTTP/2 to improve page load performance. It also supports fine control of
 * content delivery when used in conjunction with Workers.
 */
export interface H2Prioritization {
    /**
     * ID of the zone setting.
     */
    id: 'h2_prioritization';
    /**
     * Current value of the zone setting.
     */
    value: 'on' | 'off' | 'custom';
    /**
     * 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;
}
/**
 * HTTP/2 Edge Prioritization optimises the delivery of resources served through
 * HTTP/2 to improve page load performance. It also supports fine control of
 * content delivery when used in conjunction with Workers.
 */
export interface H2PrioritizationParam {
    /**
     * ID of the zone setting.
     */
    id: 'h2_prioritization';
    /**
     * Current value of the zone setting.
     */
    value: 'on' | 'off' | 'custom';
}
export interface H2PrioritizationEditParams {
    /**
     * Path param: Identifier
     */
    zone_id: string;
    /**
     * Body param: HTTP/2 Edge Prioritization optimises the delivery of resources
     * served through HTTP/2 to improve page load performance. It also supports fine
     * control of content delivery when used in conjunction with Workers.
     */
    value: H2PrioritizationParam;
}
export interface H2PrioritizationGetParams {
    /**
     * Identifier
     */
    zone_id: string;
}
export declare namespace H2PrioritizationResource {
    export import H2Prioritization = H2PrioritizationAPI.H2Prioritization;
    export import H2PrioritizationEditParams = H2PrioritizationAPI.H2PrioritizationEditParams;
    export import H2PrioritizationGetParams = H2PrioritizationAPI.H2PrioritizationGetParams;
}
//# sourceMappingURL=h2-prioritization.d.ts.map