import type { Config } from '../config/schema.js';
import { type GatewayTailscaleMode } from './server-tailscale.js';
export type TailscaleExposureState = {
    mode: GatewayTailscaleMode;
    active: boolean;
    hostname: string | null;
    resetOnExit: boolean;
};
export declare function getTailscaleExposureState(): TailscaleExposureState;
export declare function resolveGatewayTailscaleMode(cfg: Config, override?: GatewayTailscaleMode): GatewayTailscaleMode;
export declare function maybeStartTailscaleFromConfig(config: Config, port: number, override?: GatewayTailscaleMode): Promise<void>;
export declare function stopTailscaleExposure(): Promise<void>;
export declare function assertTailscaleExposureCompatible(cfg: Config): void;
export declare function warnTailnetBindUnavailable(cfg: Config, bindMode: string, bindHost: string): void;
