import type { LiveAppManifest } from "../platform/types";
/**
 * Extracts the domain from a URL string
 */
export declare function getDomain(url: string): string | null;
/**
 * Extracts the protocol from a URL string
 */
export declare function getProtocol(url: string): string | null;
/**
 * Checks if two URLs are on the same domain and protocol
 */
export declare function isSameDomain(url1: string | undefined, url2: string | undefined): boolean;
/**
 * Applies a custom dapp URL to a manifest if it's on the same domain as the original URL
 */
export declare function applyCustomDappUrl<T extends LiveAppManifest>(manifest: T | null | undefined, customDappUrl: string | null | undefined): T | null | undefined;
//# sourceMappingURL=manifestDomainUtils.d.ts.map