/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { ApprovedDomain, CustomDomain, CustomDomainCapabilities, CustomDomainOperationResponse, DomainsSettings } from "./domains-shape.js";
export type { ApprovedDomain, CustomDomain, CustomDomainCapabilities, CustomDomainOperationResponse, DomainsSettings, };
export interface DomainsBackend {
    listApprovedDomains(req: Request): Promise<DomainsSettings>;
    addApprovedDomain(req: Request, domain: string): Promise<DomainsSettings>;
    removeApprovedDomain(req: Request, domain: string): Promise<DomainsSettings>;
    createCustomDomain(req: Request, domain: string): Promise<CustomDomainOperationResponse>;
    deleteCustomDomain(req: Request, domain: string): Promise<CustomDomainOperationResponse>;
    getCustomDomainStatus(req: Request, domain: string): Promise<CustomDomainOperationResponse>;
    verifyCustomDomain(req: Request, domain: string): Promise<CustomDomainOperationResponse>;
}
export declare function getDomainsBackend(): DomainsBackend;
export declare function setDomainsBackend(backend: DomainsBackend | null): void;
