/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
export declare const STUDIO_DOMAINS_API_PATH = "/api/settings/domains";
export declare const STUDIO_APPROVED_DOMAINS_API_PATH = "/api/settings/domains/approved";
export declare const STUDIO_CUSTOM_DOMAINS_API_PATH = "/api/settings/domains/custom";
export declare const STUDIO_CUSTOM_DOMAIN_STATUS_API_PATH = "/api/settings/domains/custom/:domain/status";
export declare const STUDIO_CUSTOM_DOMAIN_VERIFY_API_PATH = "/api/settings/domains/custom/:domain/verify";
export type CustomDomainStatus = "pending" | "verifying" | "active" | "error";
export interface ApprovedDomain {
    domain: string;
    source: "embed-config" | "studio";
    createdAt: string | null;
}
export interface CustomDomain {
    domain: string;
    status: CustomDomainStatus;
    target: string | null;
    statusMessage: string | null;
    createdAt: string | null;
    updatedAt: string | null;
}
export interface CustomDomainCapabilities {
    create: boolean;
    delete: boolean;
    status: boolean;
    verify: boolean;
    managedDns: boolean;
    managedCertificates: boolean;
}
export interface DomainsSettings {
    approvedDomains: ApprovedDomain[];
    customDomains: CustomDomain[];
    canUpdateApprovedDomains: boolean;
    canManageCustomDomains: boolean;
    customDomainCapabilities: CustomDomainCapabilities;
}
export interface DomainsSettingsResponse {
    settings: DomainsSettings;
}
export type CustomDomainOperation = "create" | "delete" | "status" | "verify";
export interface CustomDomainOperationResult {
    operation: CustomDomainOperation;
    domain: string;
    supported: boolean;
    status: CustomDomainStatus | "deleted" | "unsupported";
    message: string | null;
    customDomain: CustomDomain | null;
}
export interface CustomDomainOperationResponse extends DomainsSettingsResponse {
    result: CustomDomainOperationResult;
}
export interface ApprovedDomainRequest {
    domain: string;
}
export declare function normalizeApprovedDomainInput(value: string): string | null;
export declare function normalizeCustomDomainInput(value: string): string | null;
