/**
 * Cloudflare WEB3 API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service web3
 */
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 GetHostnameRequest {
    identifier: string;
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const GetHostnameRequest: Schema.Schema<GetHostnameRequest>;
export interface GetHostnameResponse {
    /** Specify the identifier of the hostname. */
    id?: string | null;
    createdOn?: string | null;
    /** Specify an optional description of the hostname. */
    description?: string | null;
    /** Specify the DNSLink value used if the target is ipfs. */
    dnslink?: string | null;
    modifiedOn?: string | null;
    /** Specify the hostname that points to the target gateway via CNAME. */
    name?: string | null;
    /** Specifies the status of the hostname's activation. */
    status?: "active" | "pending" | "deleting" | "error" | null;
    /** Specify the target gateway of the hostname. */
    target?: "ethereum" | "ipfs" | "ipfs_universal_path" | null;
}
export declare const GetHostnameResponse: Schema.Schema<GetHostnameResponse>;
export type GetHostnameError = DefaultErrors;
export declare const getHostname: API.OperationMethod<GetHostnameRequest, GetHostnameResponse, GetHostnameError, Credentials | HttpClient.HttpClient>;
export interface ListHostnamesRequest {
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const ListHostnamesRequest: Schema.Schema<ListHostnamesRequest>;
export interface ListHostnamesResponse {
    result: {
        id?: string | null;
        createdOn?: string | null;
        description?: string | null;
        dnslink?: string | null;
        modifiedOn?: string | null;
        name?: string | null;
        status?: "active" | "pending" | "deleting" | "error" | null;
        target?: "ethereum" | "ipfs" | "ipfs_universal_path" | null;
    }[];
}
export declare const ListHostnamesResponse: Schema.Schema<ListHostnamesResponse>;
export type ListHostnamesError = DefaultErrors;
export declare const listHostnames: API.PaginatedOperationMethod<ListHostnamesRequest, ListHostnamesResponse, ListHostnamesError, Credentials | HttpClient.HttpClient>;
export interface CreateHostnameRequest {
    /** Path param: Specify the identifier of the hostname. */
    zoneId: string;
    /** Body param: Specify the hostname that points to the target gateway via CNAME. */
    name: string;
    /** Body param: Specify the target gateway of the hostname. */
    target: "ethereum" | "ipfs" | "ipfs_universal_path";
    /** Body param: Specify an optional description of the hostname. */
    description?: string;
    /** Body param: Specify the DNSLink value used if the target is ipfs. */
    dnslink?: string;
}
export declare const CreateHostnameRequest: Schema.Schema<CreateHostnameRequest>;
export interface CreateHostnameResponse {
    /** Specify the identifier of the hostname. */
    id?: string | null;
    createdOn?: string | null;
    /** Specify an optional description of the hostname. */
    description?: string | null;
    /** Specify the DNSLink value used if the target is ipfs. */
    dnslink?: string | null;
    modifiedOn?: string | null;
    /** Specify the hostname that points to the target gateway via CNAME. */
    name?: string | null;
    /** Specifies the status of the hostname's activation. */
    status?: "active" | "pending" | "deleting" | "error" | null;
    /** Specify the target gateway of the hostname. */
    target?: "ethereum" | "ipfs" | "ipfs_universal_path" | null;
}
export declare const CreateHostnameResponse: Schema.Schema<CreateHostnameResponse>;
export type CreateHostnameError = DefaultErrors;
export declare const createHostname: API.OperationMethod<CreateHostnameRequest, CreateHostnameResponse, CreateHostnameError, Credentials | HttpClient.HttpClient>;
export interface PatchHostnameRequest {
    identifier: string;
    /** Path param: Specify the identifier of the hostname. */
    zoneId: string;
    /** Body param: Specify an optional description of the hostname. */
    description?: string;
    /** Body param: Specify the DNSLink value used if the target is ipfs. */
    dnslink?: string;
}
export declare const PatchHostnameRequest: Schema.Schema<PatchHostnameRequest>;
export interface PatchHostnameResponse {
    /** Specify the identifier of the hostname. */
    id?: string | null;
    createdOn?: string | null;
    /** Specify an optional description of the hostname. */
    description?: string | null;
    /** Specify the DNSLink value used if the target is ipfs. */
    dnslink?: string | null;
    modifiedOn?: string | null;
    /** Specify the hostname that points to the target gateway via CNAME. */
    name?: string | null;
    /** Specifies the status of the hostname's activation. */
    status?: "active" | "pending" | "deleting" | "error" | null;
    /** Specify the target gateway of the hostname. */
    target?: "ethereum" | "ipfs" | "ipfs_universal_path" | null;
}
export declare const PatchHostnameResponse: Schema.Schema<PatchHostnameResponse>;
export type PatchHostnameError = DefaultErrors;
export declare const patchHostname: API.OperationMethod<PatchHostnameRequest, PatchHostnameResponse, PatchHostnameError, Credentials | HttpClient.HttpClient>;
export interface DeleteHostnameRequest {
    identifier: string;
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const DeleteHostnameRequest: Schema.Schema<DeleteHostnameRequest>;
export interface DeleteHostnameResponse {
    /** Specify the identifier of the hostname. */
    id: string;
}
export declare const DeleteHostnameResponse: Schema.Schema<DeleteHostnameResponse>;
export type DeleteHostnameError = DefaultErrors;
export declare const deleteHostname: API.OperationMethod<DeleteHostnameRequest, DeleteHostnameResponse, DeleteHostnameError, Credentials | HttpClient.HttpClient>;
export interface GetHostnameIpfsUniversalPathContentListRequest {
    identifier: string;
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const GetHostnameIpfsUniversalPathContentListRequest: Schema.Schema<GetHostnameIpfsUniversalPathContentListRequest>;
export interface GetHostnameIpfsUniversalPathContentListResponse {
    /** Behavior of the content list. */
    action?: "block" | null;
}
export declare const GetHostnameIpfsUniversalPathContentListResponse: Schema.Schema<GetHostnameIpfsUniversalPathContentListResponse>;
export type GetHostnameIpfsUniversalPathContentListError = DefaultErrors;
export declare const getHostnameIpfsUniversalPathContentList: API.OperationMethod<GetHostnameIpfsUniversalPathContentListRequest, GetHostnameIpfsUniversalPathContentListResponse, GetHostnameIpfsUniversalPathContentListError, Credentials | HttpClient.HttpClient>;
export interface PutHostnameIpfsUniversalPathContentListRequest {
    identifier: string;
    /** Path param: Specify the identifier of the hostname. */
    zoneId: string;
    /** Body param: Behavior of the content list. */
    action: "block";
    /** Body param: Provides content list entries. */
    entries: {
        content?: string;
        description?: string;
        type?: "cid" | "content_path";
    }[];
}
export declare const PutHostnameIpfsUniversalPathContentListRequest: Schema.Schema<PutHostnameIpfsUniversalPathContentListRequest>;
export interface PutHostnameIpfsUniversalPathContentListResponse {
    /** Behavior of the content list. */
    action?: "block" | null;
}
export declare const PutHostnameIpfsUniversalPathContentListResponse: Schema.Schema<PutHostnameIpfsUniversalPathContentListResponse>;
export type PutHostnameIpfsUniversalPathContentListError = DefaultErrors;
export declare const putHostnameIpfsUniversalPathContentList: API.OperationMethod<PutHostnameIpfsUniversalPathContentListRequest, PutHostnameIpfsUniversalPathContentListResponse, PutHostnameIpfsUniversalPathContentListError, Credentials | HttpClient.HttpClient>;
export interface GetHostnameIpfsUniversalPathContentListEntryRequest {
    identifier: string;
    contentListEntryIdentifier: string;
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const GetHostnameIpfsUniversalPathContentListEntryRequest: Schema.Schema<GetHostnameIpfsUniversalPathContentListEntryRequest>;
export interface GetHostnameIpfsUniversalPathContentListEntryResponse {
    /** Specify the identifier of the hostname. */
    id?: string | null;
    /** Specify the CID or content path of content to block. */
    content?: string | null;
    createdOn?: string | null;
    /** Specify an optional description of the content list entry. */
    description?: string | null;
    modifiedOn?: string | null;
    /** Specify the type of content list entry to block. */
    type?: "cid" | "content_path" | null;
}
export declare const GetHostnameIpfsUniversalPathContentListEntryResponse: Schema.Schema<GetHostnameIpfsUniversalPathContentListEntryResponse>;
export type GetHostnameIpfsUniversalPathContentListEntryError = DefaultErrors;
export declare const getHostnameIpfsUniversalPathContentListEntry: API.OperationMethod<GetHostnameIpfsUniversalPathContentListEntryRequest, GetHostnameIpfsUniversalPathContentListEntryResponse, GetHostnameIpfsUniversalPathContentListEntryError, Credentials | HttpClient.HttpClient>;
export interface ListHostnameIpfsUniversalPathContentListEntriesRequest {
    identifier: string;
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const ListHostnameIpfsUniversalPathContentListEntriesRequest: Schema.Schema<ListHostnameIpfsUniversalPathContentListEntriesRequest>;
export interface ListHostnameIpfsUniversalPathContentListEntriesResponse {
    /** Provides content list entries. */
    entries?: {
        id?: string | null;
        content?: string | null;
        createdOn?: string | null;
        description?: string | null;
        modifiedOn?: string | null;
        type?: "cid" | "content_path" | null;
    }[] | null;
}
export declare const ListHostnameIpfsUniversalPathContentListEntriesResponse: Schema.Schema<ListHostnameIpfsUniversalPathContentListEntriesResponse>;
export type ListHostnameIpfsUniversalPathContentListEntriesError = DefaultErrors;
export declare const listHostnameIpfsUniversalPathContentListEntries: API.OperationMethod<ListHostnameIpfsUniversalPathContentListEntriesRequest, ListHostnameIpfsUniversalPathContentListEntriesResponse, ListHostnameIpfsUniversalPathContentListEntriesError, Credentials | HttpClient.HttpClient>;
export interface CreateHostnameIpfsUniversalPathContentListEntryRequest {
    identifier: string;
    /** Path param: Specify the identifier of the hostname. */
    zoneId: string;
    /** Body param: Specify the CID or content path of content to block. */
    content: string;
    /** Body param: Specify the type of content list entry to block. */
    type: "cid" | "content_path";
    /** Body param: Specify an optional description of the content list entry. */
    description?: string;
}
export declare const CreateHostnameIpfsUniversalPathContentListEntryRequest: Schema.Schema<CreateHostnameIpfsUniversalPathContentListEntryRequest>;
export interface CreateHostnameIpfsUniversalPathContentListEntryResponse {
    /** Specify the identifier of the hostname. */
    id?: string | null;
    /** Specify the CID or content path of content to block. */
    content?: string | null;
    createdOn?: string | null;
    /** Specify an optional description of the content list entry. */
    description?: string | null;
    modifiedOn?: string | null;
    /** Specify the type of content list entry to block. */
    type?: "cid" | "content_path" | null;
}
export declare const CreateHostnameIpfsUniversalPathContentListEntryResponse: Schema.Schema<CreateHostnameIpfsUniversalPathContentListEntryResponse>;
export type CreateHostnameIpfsUniversalPathContentListEntryError = DefaultErrors;
export declare const createHostnameIpfsUniversalPathContentListEntry: API.OperationMethod<CreateHostnameIpfsUniversalPathContentListEntryRequest, CreateHostnameIpfsUniversalPathContentListEntryResponse, CreateHostnameIpfsUniversalPathContentListEntryError, Credentials | HttpClient.HttpClient>;
export interface UpdateHostnameIpfsUniversalPathContentListEntryRequest {
    identifier: string;
    contentListEntryIdentifier: string;
    /** Path param: Specify the identifier of the hostname. */
    zoneId: string;
    /** Body param: Specify the CID or content path of content to block. */
    content: string;
    /** Body param: Specify the type of content list entry to block. */
    type: "cid" | "content_path";
    /** Body param: Specify an optional description of the content list entry. */
    description?: string;
}
export declare const UpdateHostnameIpfsUniversalPathContentListEntryRequest: Schema.Schema<UpdateHostnameIpfsUniversalPathContentListEntryRequest>;
export interface UpdateHostnameIpfsUniversalPathContentListEntryResponse {
    /** Specify the identifier of the hostname. */
    id?: string | null;
    /** Specify the CID or content path of content to block. */
    content?: string | null;
    createdOn?: string | null;
    /** Specify an optional description of the content list entry. */
    description?: string | null;
    modifiedOn?: string | null;
    /** Specify the type of content list entry to block. */
    type?: "cid" | "content_path" | null;
}
export declare const UpdateHostnameIpfsUniversalPathContentListEntryResponse: Schema.Schema<UpdateHostnameIpfsUniversalPathContentListEntryResponse>;
export type UpdateHostnameIpfsUniversalPathContentListEntryError = DefaultErrors;
export declare const updateHostnameIpfsUniversalPathContentListEntry: API.OperationMethod<UpdateHostnameIpfsUniversalPathContentListEntryRequest, UpdateHostnameIpfsUniversalPathContentListEntryResponse, UpdateHostnameIpfsUniversalPathContentListEntryError, Credentials | HttpClient.HttpClient>;
export interface DeleteHostnameIpfsUniversalPathContentListEntryRequest {
    identifier: string;
    contentListEntryIdentifier: string;
    /** Specify the identifier of the hostname. */
    zoneId: string;
}
export declare const DeleteHostnameIpfsUniversalPathContentListEntryRequest: Schema.Schema<DeleteHostnameIpfsUniversalPathContentListEntryRequest>;
export interface DeleteHostnameIpfsUniversalPathContentListEntryResponse {
    /** Specify the identifier of the hostname. */
    id: string;
}
export declare const DeleteHostnameIpfsUniversalPathContentListEntryResponse: Schema.Schema<DeleteHostnameIpfsUniversalPathContentListEntryResponse>;
export type DeleteHostnameIpfsUniversalPathContentListEntryError = DefaultErrors;
export declare const deleteHostnameIpfsUniversalPathContentListEntry: API.OperationMethod<DeleteHostnameIpfsUniversalPathContentListEntryRequest, DeleteHostnameIpfsUniversalPathContentListEntryResponse, DeleteHostnameIpfsUniversalPathContentListEntryError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=web3.d.ts.map