export type HostnameSource = "cloudflared-config.yml" | "alias-domains.json";
export interface PublicHostnameHit {
    hostname: string;
    isApex: boolean;
    source: HostnameSource;
}
export interface PublicHostnameMiss {
    hostname: null;
    isApex: null;
    source: null;
    reason: "no-tunnel";
}
export type PublicHostnameResult = PublicHostnameHit | PublicHostnameMiss;
export declare function resolvePublicHostname(configDir: string): PublicHostnameResult;
//# sourceMappingURL=public-hostname.d.ts.map