/**
 * Cloudflare RESOURCE-TAGGING API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service resource-tagging
 */
import * as Schema from "effect/Schema";
import type * as HttpClient from "effect/unstable/http/HttpClient";
import * as API from "../client/api.ts";
import type { Credentials } from "../credentials.ts";
import { type DefaultErrors } from "../errors.ts";
export interface GetAccountTagRequest {
    /** Path param: Identifier. */
    accountId: string;
    /** Query param: The ID of the resource to retrieve tags for. */
    resourceId: string;
    /** Query param: The type of the resource. */
    resourceType: "access_application" | "access_group" | "account" | "ai_gateway" | "alerting_policy" | "alerting_webhook" | "cloudflared_tunnel" | "d1_database" | "durable_object_namespace" | "gateway_list" | "gateway_rule" | "image" | "kv_namespace" | "queue" | "r2_bucket" | "resource_share" | "stream_live_input" | "stream_video" | "worker" | "worker_version" | (string & {});
    /** Query param: Worker identifier. Required for worker_version resources. */
    workerId?: string;
}
export declare const GetAccountTagRequest: Schema.Schema<GetAccountTagRequest>;
export type GetAccountTagResponse = {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application";
} | {
    id: string;
    accessApplicationId: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application_policy";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_group";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "account";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "ai_gateway";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_policy";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_webhook";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "api_gateway_operation";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "cloudflared_tunnel";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_hostname";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "d1_database";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "dns_record";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "durable_object_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_list";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_rule";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "image";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "kv_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "managed_client_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "queue";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "r2_bucket";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "resource_share";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_live_input";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_video";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker_version";
    workerId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "zone";
    zoneId: string;
};
export declare const GetAccountTagResponse: Schema.Schema<GetAccountTagResponse>;
export type GetAccountTagError = DefaultErrors;
export declare const getAccountTag: API.OperationMethod<GetAccountTagRequest, GetAccountTagResponse, GetAccountTagError, Credentials | HttpClient.HttpClient>;
export interface PutAccountTagRequest {
    /** Path param: Identifier. */
    accountId: string;
    /** Header param: ETag value for optimistic concurrency control. When provided, the server will verify the current resource ETag matches before applying the write. Returns 412 Precondition Failed if the r */
    ifMatch?: string;
    /** Body param: Identifies the unique resource. */
    resourceId: string;
    /** Body param: Enum for base account-level resource types (those with no extra required fields). */
    resourceType: "access_application" | "access_group" | "account" | "ai_gateway" | "alerting_policy" | "alerting_webhook" | "cloudflared_tunnel" | "d1_database" | "durable_object_namespace" | "gateway_list" | "gateway_rule" | "image" | "kv_namespace" | "queue" | "r2_bucket" | "resource_share" | "stream_live_input" | "stream_video" | "worker" | "worker_version" | (string & {});
    /** Body param: Worker ID is required only for worker_version resources */
    workerId?: string;
    /** Body param: Contains key-value pairs of tags. */
    tags?: Record<string, unknown>;
}
export declare const PutAccountTagRequest: Schema.Schema<PutAccountTagRequest>;
export type PutAccountTagResponse = {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application";
} | {
    id: string;
    accessApplicationId: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application_policy";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_group";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "account";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "ai_gateway";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_policy";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_webhook";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "api_gateway_operation";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "cloudflared_tunnel";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_hostname";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "d1_database";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "dns_record";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "durable_object_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_list";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_rule";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "image";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "kv_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "managed_client_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "queue";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "r2_bucket";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "resource_share";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_live_input";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_video";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker_version";
    workerId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "zone";
    zoneId: string;
};
export declare const PutAccountTagResponse: Schema.Schema<PutAccountTagResponse>;
export type PutAccountTagError = DefaultErrors;
export declare const putAccountTag: API.OperationMethod<PutAccountTagRequest, PutAccountTagResponse, PutAccountTagError, Credentials | HttpClient.HttpClient>;
export interface DeleteAccountTagRequest {
    /** Path param: Identifier. */
    accountId: string;
    /** Header param: ETag value for optimistic concurrency control. When provided, the server will verify the current resource ETag matches before applying the write. Returns 412 Precondition Failed if the r */
    ifMatch?: string;
}
export declare const DeleteAccountTagRequest: Schema.Schema<DeleteAccountTagRequest>;
export type DeleteAccountTagResponse = unknown;
export declare const DeleteAccountTagResponse: Schema.Schema<DeleteAccountTagResponse>;
export type DeleteAccountTagError = DefaultErrors;
export declare const deleteAccountTag: API.OperationMethod<DeleteAccountTagRequest, DeleteAccountTagResponse, DeleteAccountTagError, Credentials | HttpClient.HttpClient>;
export interface ListKeysRequest {
    /** Path param: Identifier. */
    accountId: string;
    cursor?: string;
}
export declare const ListKeysRequest: Schema.Schema<ListKeysRequest>;
export interface ListKeysResponse {
    result: string[];
    resultInfo?: {
        cursors?: {
            after?: string | null;
        } | null;
    } | null;
}
export declare const ListKeysResponse: Schema.Schema<ListKeysResponse>;
export type ListKeysError = DefaultErrors;
export declare const listKeys: API.PaginatedOperationMethod<ListKeysRequest, ListKeysResponse, ListKeysError, Credentials | HttpClient.HttpClient>;
export interface ListResourceTaggingsRequest {
    /** Path param: Identifier. */
    accountId: string;
    cursor?: string;
    /** Query param: Filter resources by tag criteria. This parameter can be repeated multiple times, with AND logic between parameters.  Supported syntax:  -  Key-only  : `tag=<key>` - Resource must have the */
    tag?: string[];
    /** Query param: Filter by resource type. Can be repeated to filter by multiple types (OR logic). Example: ?type=zone&type=worker */
    type?: ("access_application" | "access_application_policy" | "access_group" | "account" | "ai_gateway" | "alerting_policy" | "alerting_webhook" | "api_gateway_operation" | "cloudflared_tunnel" | "custom_certificate" | "custom_hostname" | "d1_database" | "dns_record" | "durable_object_namespace" | "gateway_list" | "gateway_rule" | "image" | "kv_namespace" | "managed_client_certificate" | "queue" | "r2_bucket" | "resource_share" | "stream_live_input" | "stream_video" | "worker" | "worker_version" | "zone" | (string & {}))[];
}
export declare const ListResourceTaggingsRequest: Schema.Schema<ListResourceTaggingsRequest>;
export interface ListResourceTaggingsResponse {
    result: ({
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "access_application";
    } | {
        id: string;
        accessApplicationId: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "access_application_policy";
        zoneId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "access_group";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "account";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "ai_gateway";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "alerting_policy";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "alerting_webhook";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "api_gateway_operation";
        zoneId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "cloudflared_tunnel";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "custom_certificate";
        zoneId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "custom_hostname";
        zoneId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "d1_database";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "dns_record";
        zoneId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "durable_object_namespace";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "gateway_list";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "gateway_rule";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "image";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "kv_namespace";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "managed_client_certificate";
        zoneId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "queue";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "r2_bucket";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "resource_share";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "stream_live_input";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "stream_video";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "worker";
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "worker_version";
        workerId: string;
    } | {
        id: string;
        etag: string;
        name: string;
        tags: Record<string, unknown>;
        type: "zone";
        zoneId: string;
    })[];
    resultInfo?: {
        cursors?: {
            after?: string | null;
        } | null;
    } | null;
}
export declare const ListResourceTaggingsResponse: Schema.Schema<ListResourceTaggingsResponse>;
export type ListResourceTaggingsError = DefaultErrors;
export declare const listResourceTaggings: API.PaginatedOperationMethod<ListResourceTaggingsRequest, ListResourceTaggingsResponse, ListResourceTaggingsError, Credentials | HttpClient.HttpClient>;
export interface ListValuesRequest {
    tagKey: string;
    /** Path param: Identifier. */
    accountId: string;
    cursor?: string;
    /** Query param: Filter by resource type. */
    type?: "access_application" | "access_application_policy" | "access_group" | "account" | "ai_gateway" | "alerting_policy" | "alerting_webhook" | "api_gateway_operation" | "cloudflared_tunnel" | "custom_certificate" | "custom_hostname" | "d1_database" | "dns_record" | "durable_object_namespace" | "gateway_list" | "gateway_rule" | "image" | "kv_namespace" | "managed_client_certificate" | "queue" | "r2_bucket" | "resource_share" | "stream_live_input" | "stream_video" | "worker" | "worker_version" | "zone" | (string & {});
}
export declare const ListValuesRequest: Schema.Schema<ListValuesRequest>;
export interface ListValuesResponse {
    result: string[];
    resultInfo?: {
        cursors?: {
            after?: string | null;
        } | null;
    } | null;
}
export declare const ListValuesResponse: Schema.Schema<ListValuesResponse>;
export type ListValuesError = DefaultErrors;
export declare const listValues: API.PaginatedOperationMethod<ListValuesRequest, ListValuesResponse, ListValuesError, Credentials | HttpClient.HttpClient>;
export interface GetZoneTagRequest {
    /** Path param: Zone ID is required only for zone-level resources */
    zoneId: string;
    /** Query param: The ID of the resource to retrieve tags for. */
    resourceId: string;
    /** Query param: The type of the resource. */
    resourceType: "access_application_policy" | "api_gateway_operation" | "custom_certificate" | "custom_hostname" | "dns_record" | "managed_client_certificate" | "zone" | (string & {});
    /** Query param: Access application ID identifier. Required for access_application_policy resources. */
    accessApplicationId?: string;
}
export declare const GetZoneTagRequest: Schema.Schema<GetZoneTagRequest>;
export type GetZoneTagResponse = {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application";
} | {
    id: string;
    accessApplicationId: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application_policy";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_group";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "account";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "ai_gateway";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_policy";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_webhook";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "api_gateway_operation";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "cloudflared_tunnel";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_hostname";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "d1_database";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "dns_record";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "durable_object_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_list";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_rule";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "image";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "kv_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "managed_client_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "queue";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "r2_bucket";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "resource_share";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_live_input";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_video";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker_version";
    workerId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "zone";
    zoneId: string;
};
export declare const GetZoneTagResponse: Schema.Schema<GetZoneTagResponse>;
export type GetZoneTagError = DefaultErrors;
export declare const getZoneTag: API.OperationMethod<GetZoneTagRequest, GetZoneTagResponse, GetZoneTagError, Credentials | HttpClient.HttpClient>;
export interface PutZoneTagRequest {
    /** Path param: Zone ID is required only for zone-level resources */
    zoneId: string;
    /** Header param: ETag value for optimistic concurrency control. When provided, the server will verify the current resource ETag matches before applying the write. Returns 412 Precondition Failed if the r */
    ifMatch?: string;
    /** Body param: Identifies the unique resource. */
    resourceId: string;
    /** Body param: Enum for base zone-level resource types (those with no extra required fields). */
    resourceType: "api_gateway_operation" | "custom_certificate" | "custom_hostname" | "dns_record" | "managed_client_certificate" | "zone" | "access_application_policy" | (string & {});
    /** Body param: Contains key-value pairs of tags. */
    tags?: Record<string, unknown>;
    /** Body param: Access application ID is required only for access_application_policy resources */
    accessApplicationId?: string;
}
export declare const PutZoneTagRequest: Schema.Schema<PutZoneTagRequest>;
export type PutZoneTagResponse = {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application";
} | {
    id: string;
    accessApplicationId: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_application_policy";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "access_group";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "account";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "ai_gateway";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_policy";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "alerting_webhook";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "api_gateway_operation";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "cloudflared_tunnel";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "custom_hostname";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "d1_database";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "dns_record";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "durable_object_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_list";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "gateway_rule";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "image";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "kv_namespace";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "managed_client_certificate";
    zoneId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "queue";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "r2_bucket";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "resource_share";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_live_input";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "stream_video";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker";
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "worker_version";
    workerId: string;
} | {
    id: string;
    etag: string;
    name: string;
    tags: Record<string, unknown>;
    type: "zone";
    zoneId: string;
};
export declare const PutZoneTagResponse: Schema.Schema<PutZoneTagResponse>;
export type PutZoneTagError = DefaultErrors;
export declare const putZoneTag: API.OperationMethod<PutZoneTagRequest, PutZoneTagResponse, PutZoneTagError, Credentials | HttpClient.HttpClient>;
export interface DeleteZoneTagRequest {
    /** Path param: Zone ID is required only for zone-level resources */
    zoneId: string;
    /** Header param: ETag value for optimistic concurrency control. When provided, the server will verify the current resource ETag matches before applying the write. Returns 412 Precondition Failed if the r */
    ifMatch?: string;
}
export declare const DeleteZoneTagRequest: Schema.Schema<DeleteZoneTagRequest>;
export type DeleteZoneTagResponse = unknown;
export declare const DeleteZoneTagResponse: Schema.Schema<DeleteZoneTagResponse>;
export type DeleteZoneTagError = DefaultErrors;
export declare const deleteZoneTag: API.OperationMethod<DeleteZoneTagRequest, DeleteZoneTagResponse, DeleteZoneTagError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=resource-tagging.d.ts.map