import * as S from "@distilled.cloud/core/schema"; import * as API from "@distilled.cloud/core/api"; import { type CloudflareOpError, type CloudflareOpContext } from "../protocol.ts"; import { ResultInfo } from "../pagination.ts"; export type { CloudflareOpError, CloudflareOpContext }; declare const Forbidden_base: S.Class, import("effect/Cause").YieldableError>; export declare class Forbidden extends /*@__PURE__*/ Forbidden_base { } declare const InvalidWeb3HostnameTarget_base: S.Class, import("effect/Cause").YieldableError>; export declare class InvalidWeb3HostnameTarget extends /*@__PURE__*/ InvalidWeb3HostnameTarget_base { } declare const Web3HostnameNotEntitled_base: S.Class, import("effect/Cause").YieldableError>; export declare class Web3HostnameNotEntitled extends /*@__PURE__*/ Web3HostnameNotEntitled_base { } declare const Web3HostnameNotFound_base: S.Class, import("effect/Cause").YieldableError>; export declare class Web3HostnameNotFound extends /*@__PURE__*/ Web3HostnameNotFound_base { } export type HostnamesCreateRequestTarget = "ethereum" | "ipfs" | "ipfs_universal_path"; export declare const HostnamesCreateRequestTarget: any; export interface CreateHostnameRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the hostname that points to the target gateway via CNAME. */ name: string; /** Specify the target gateway of the hostname. */ target: HostnamesCreateRequestTarget | (string & {}); /** Specify an optional description of the hostname. */ description?: string; /** Specify the DNSLink value used if the target is ipfs. */ dnslink?: string; } export declare const CreateHostnameRequest: S.Schema; export type HostnamesCreateResponseStatus = "active" | "pending" | "deleting" | "error"; export declare const HostnamesCreateResponseStatus: any; export type HostnamesCreateResponseTarget = "ethereum" | "ipfs" | "ipfs_universal_path"; export declare const HostnamesCreateResponseTarget: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ 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?: HostnamesCreateResponseStatus | null; /** Specify the target gateway of the hostname. */ target?: HostnamesCreateResponseTarget | null; } export declare const CreateHostnameResponse: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesCreateRequestType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsEntriesCreateRequestType: any; export interface CreateHostnameIpfsUniversalPathContentListEntryRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; /** Specify the CID or content path of content to block. */ content: string; /** Specify the type of content list entry to block. */ type: HostnamesIpfsUniversalPathsContentListsEntriesCreateRequestType | (string & {}); /** Specify an optional description of the content list entry. */ description?: string; } export declare const CreateHostnameIpfsUniversalPathContentListEntryRequest: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesCreateResponseType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsEntriesCreateResponseType: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ 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?: HostnamesIpfsUniversalPathsContentListsEntriesCreateResponseType | null; } export declare const CreateHostnameIpfsUniversalPathContentListEntryResponse: S.Schema; export interface DeleteHostnameRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; } export declare const DeleteHostnameRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteHostnameResponse { /** Specify the identifier of the hostname. */ id: string; } export declare const DeleteHostnameResponse: S.Schema; export interface DeleteHostnameIpfsUniversalPathContentListEntryRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; /** Specify the identifier of the hostname. */ contentListEntryIdentifier: string; } export declare const DeleteHostnameIpfsUniversalPathContentListEntryRequest: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface DeleteHostnameIpfsUniversalPathContentListEntryResponse { /** Specify the identifier of the hostname. */ id: string; } export declare const DeleteHostnameIpfsUniversalPathContentListEntryResponse: S.Schema; export interface GetHostnameRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; } export declare const GetHostnameRequest: S.Schema; export type HostnamesGetResponseStatus = "active" | "pending" | "deleting" | "error"; export declare const HostnamesGetResponseStatus: any; export type HostnamesGetResponseTarget = "ethereum" | "ipfs" | "ipfs_universal_path"; export declare const HostnamesGetResponseTarget: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ 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?: HostnamesGetResponseStatus | null; /** Specify the target gateway of the hostname. */ target?: HostnamesGetResponseTarget | null; } export declare const GetHostnameResponse: S.Schema; export interface GetHostnameIpfsUniversalPathContentListRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; } export declare const GetHostnameIpfsUniversalPathContentListRequest: S.Schema; export type HostnamesIpfsUniversalPathsContentListsGetResponseAction = "block"; export declare const HostnamesIpfsUniversalPathsContentListsGetResponseAction: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface GetHostnameIpfsUniversalPathContentListResponse { /** Behavior of the content list. */ action?: HostnamesIpfsUniversalPathsContentListsGetResponseAction | null; } export declare const GetHostnameIpfsUniversalPathContentListResponse: S.Schema; export interface GetHostnameIpfsUniversalPathContentListEntryRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; /** Specify the identifier of the hostname. */ contentListEntryIdentifier: string; } export declare const GetHostnameIpfsUniversalPathContentListEntryRequest: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesGetResponseType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsEntriesGetResponseType: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ 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?: HostnamesIpfsUniversalPathsContentListsEntriesGetResponseType | null; } export declare const GetHostnameIpfsUniversalPathContentListEntryResponse: S.Schema; export interface ListHostnameIpfsUniversalPathContentListEntriesRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; } export declare const ListHostnameIpfsUniversalPathContentListEntriesRequest: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesItemType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesItemType: any; export interface HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesItem { /** 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?: HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesItemType | null; } export declare const HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesItem: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesList = Array; export declare const HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesList: S.Schema; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface ListHostnameIpfsUniversalPathContentListEntriesResponse { /** Provides content list entries. */ entries?: HostnamesIpfsUniversalPathsContentListsEntriesListResponseEntriesList | null; } export declare const ListHostnameIpfsUniversalPathContentListEntriesResponse: S.Schema; export interface ListHostnamesRequest { /** Specify the identifier of the hostname. */ zoneId: string; } export declare const ListHostnamesRequest: S.Schema; export type HostnamesListResultItemStatus = "active" | "pending" | "deleting" | "error"; export declare const HostnamesListResultItemStatus: any; export type HostnamesListResultItemTarget = "ethereum" | "ipfs" | "ipfs_universal_path"; export declare const HostnamesListResultItemTarget: any; export interface HostnamesListResultItem { /** 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?: HostnamesListResultItemStatus | null; /** Specify the target gateway of the hostname. */ target?: HostnamesListResultItemTarget | null; } export declare const HostnamesListResultItem: S.Schema; export type HostnamesListResultList = Array; export declare const HostnamesListResultList: S.Schema; export interface ListHostnamesResponse { /** The unwrapped `result` payload of the v4 response envelope. */ result: HostnamesListResultList; /** Pagination info from the envelope's `result_info`. */ resultInfo?: ResultInfo | null; } export declare const ListHostnamesResponse: S.Schema; export interface PatchHostnameRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; /** Specify an optional description of the hostname. */ description?: string; /** Specify the DNSLink value used if the target is ipfs. */ dnslink?: string; } export declare const PatchHostnameRequest: S.Schema; export type HostnamesEditResponseStatus = "active" | "pending" | "deleting" | "error"; export declare const HostnamesEditResponseStatus: any; export type HostnamesEditResponseTarget = "ethereum" | "ipfs" | "ipfs_universal_path"; export declare const HostnamesEditResponseTarget: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ 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?: HostnamesEditResponseStatus | null; /** Specify the target gateway of the hostname. */ target?: HostnamesEditResponseTarget | null; } export declare const PatchHostnameResponse: S.Schema; export type HostnamesIpfsUniversalPathsContentListsUpdateRequestAction = "block"; export declare const HostnamesIpfsUniversalPathsContentListsUpdateRequestAction: any; export type HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesItemType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesItemType: any; export interface HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesItem { /** Specify the identifier of the hostname. */ id?: string; /** Specify the CID or content path of content to block. */ content?: string; createdOn?: string; /** Specify an optional description of the content list entry. */ description?: string; modifiedOn?: string; /** Specify the type of content list entry to block. */ type?: HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesItemType | (string & {}); } export declare const HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesItem: S.Schema; export type HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesList = Array; export declare const HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesList: S.Schema; export interface PutHostnameIpfsUniversalPathContentListRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; /** Behavior of the content list. */ action: HostnamesIpfsUniversalPathsContentListsUpdateRequestAction | (string & {}); /** Provides content list entries. */ entries: HostnamesIpfsUniversalPathsContentListsUpdateRequestEntriesList; } export declare const PutHostnameIpfsUniversalPathContentListRequest: S.Schema; export type HostnamesIpfsUniversalPathsContentListsUpdateResponseAction = "block"; export declare const HostnamesIpfsUniversalPathsContentListsUpdateResponseAction: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ export interface PutHostnameIpfsUniversalPathContentListResponse { /** Behavior of the content list. */ action?: HostnamesIpfsUniversalPathsContentListsUpdateResponseAction | null; } export declare const PutHostnameIpfsUniversalPathContentListResponse: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesUpdateRequestType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsEntriesUpdateRequestType: any; export interface UpdateHostnameIpfsUniversalPathContentListEntryRequest { /** Specify the identifier of the hostname. */ zoneId: string; /** Specify the identifier of the hostname. */ identifier: string; /** Specify the identifier of the hostname. */ contentListEntryIdentifier: string; /** Specify the CID or content path of content to block. */ content: string; /** Specify the type of content list entry to block. */ type: HostnamesIpfsUniversalPathsContentListsEntriesUpdateRequestType | (string & {}); /** Specify an optional description of the content list entry. */ description?: string; } export declare const UpdateHostnameIpfsUniversalPathContentListEntryRequest: S.Schema; export type HostnamesIpfsUniversalPathsContentListsEntriesUpdateResponseType = "cid" | "content_path"; export declare const HostnamesIpfsUniversalPathsContentListsEntriesUpdateResponseType: any; /** Unwrapped `result` payload of the Cloudflare v4 response envelope. */ 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?: HostnamesIpfsUniversalPathsContentListsEntriesUpdateResponseType | null; } export declare const UpdateHostnameIpfsUniversalPathContentListEntryResponse: S.Schema; export type CreateHostnameError = Web3HostnameNotEntitled | Forbidden | CloudflareOpError; /** Create Web3 Hostname */ export declare const createHostname: API.OperationMethod; export type CreateHostnameIpfsUniversalPathContentListEntryError = CloudflareOpError; /** Create IPFS Universal Path Gateway Content List Entry */ export declare const createHostnameIpfsUniversalPathContentListEntry: API.OperationMethod; export type DeleteHostnameError = Web3HostnameNotFound | Forbidden | CloudflareOpError; /** Delete Web3 Hostname */ export declare const deleteHostname: API.OperationMethod; export type DeleteHostnameIpfsUniversalPathContentListEntryError = CloudflareOpError; /** Delete IPFS Universal Path Gateway Content List Entry */ export declare const deleteHostnameIpfsUniversalPathContentListEntry: API.OperationMethod; export type GetHostnameError = Web3HostnameNotFound | Forbidden | CloudflareOpError; /** Web3 Hostname Details */ export declare const getHostname: API.OperationMethod; export type GetHostnameIpfsUniversalPathContentListError = Web3HostnameNotFound | InvalidWeb3HostnameTarget | Forbidden | CloudflareOpError; /** IPFS Universal Path Gateway Content List Details */ export declare const getHostnameIpfsUniversalPathContentList: API.OperationMethod; export type GetHostnameIpfsUniversalPathContentListEntryError = CloudflareOpError; /** IPFS Universal Path Gateway Content List Entry Details */ export declare const getHostnameIpfsUniversalPathContentListEntry: API.OperationMethod; export type ListHostnameIpfsUniversalPathContentListEntriesError = Web3HostnameNotFound | InvalidWeb3HostnameTarget | Forbidden | CloudflareOpError; /** List IPFS Universal Path Gateway Content List Entries */ export declare const listHostnameIpfsUniversalPathContentListEntries: API.OperationMethod; export type ListHostnamesError = Forbidden | CloudflareOpError; /** List Web3 Hostnames */ export declare const listHostnames: API.PaginatedOperationMethod; export type PatchHostnameError = Web3HostnameNotFound | Forbidden | CloudflareOpError; /** Edit Web3 Hostname */ export declare const patchHostname: API.OperationMethod; export type PutHostnameIpfsUniversalPathContentListError = Web3HostnameNotFound | InvalidWeb3HostnameTarget | Forbidden | CloudflareOpError; /** Update IPFS Universal Path Gateway Content List */ export declare const putHostnameIpfsUniversalPathContentList: API.OperationMethod; export type UpdateHostnameIpfsUniversalPathContentListEntryError = CloudflareOpError; /** Edit IPFS Universal Path Gateway Content List Entry */ export declare const updateHostnameIpfsUniversalPathContentListEntry: API.OperationMethod; //# sourceMappingURL=web3.d.ts.map