import type { OpenClawConfig } from "../config/types.openclaw.js";
export declare const TAILSCALE_EXPOSURE_OPTIONS: readonly [{
    readonly value: "off";
    readonly label: "Off";
    readonly hint: "\u65E0 Tailscale \u66B4\u9732";
}, {
    readonly value: "serve";
    readonly label: "Serve";
    readonly hint: "Tailnet \u79C1\u6709 HTTPS (Tailscale \u8BBE\u5907)";
}, {
    readonly value: "funnel";
    readonly label: "Funnel";
    readonly hint: "\u901A\u8FC7 Tailscale Funnel \u7684\u516C\u5171 HTTPS (\u4E92\u8054\u7F51)";
}];
export declare const TAILSCALE_MISSING_BIN_NOTE_LINES: readonly ["\u5728 PATH \u6216 /Applications \u4E2D\u672A\u627E\u5230 Tailscale \u4E8C\u8FDB\u5236\u6587\u4EF6\u3002", "\u8BF7\u786E\u4FDD\u5DF2\u5B89\u88C5 Tailscale\uFF1A", "  https://tailscale.com/download/mac", "", "\u60A8\u53EF\u4EE5\u7EE7\u7EED\u8BBE\u7F6E\uFF0C\u4F46 serve/funnel \u5C06\u5728\u8FD0\u884C\u65F6\u5931\u8D25\u3002"];
export declare const TAILSCALE_DOCS_LINES: readonly ["Docs:", "https://docs.openclaw.ai/gateway/tailscale", "https://docs.openclaw.ai/web"];
export declare function buildTailnetHttpsOrigin(rawHost: string): string | null;
export declare function appendAllowedOrigin(existing: string[] | undefined, origin: string): string[];
export declare function maybeAddTailnetOriginToControlUiAllowedOrigins(params: {
    config: OpenClawConfig;
    tailscaleMode: string;
    tailscaleBin?: string | null;
}): Promise<OpenClawConfig>;
