export declare const OPEN_DESIGN_TESTED_REF = "3f7a05e7462f097bf38b7cbac0d4a4593deecd80";
export interface DesignOpenDesignOptions {
    branch?: string;
    daemonPort?: string | number;
    dir?: string;
    doctor?: boolean;
    foreground?: boolean;
    install?: boolean;
    json?: boolean;
    open?: boolean;
    printOnly?: boolean;
    ref?: string;
    update?: boolean;
    webPort?: string | number;
}
interface OpenDesignResolvedOptions {
    branch: string;
    daemonPort: string;
    dir: string;
    ref: string;
    foreground: boolean;
    install: boolean;
    open: boolean;
    printOnly: boolean;
    update: boolean;
    webPort: string;
}
interface OpenDesignNodeRuntime {
    corepackCommand: string;
    env?: Record<string, string>;
    nodeCommand?: string;
}
interface OpenDesignNodeRuntimeOptions {
    env?: NodeJS.ProcessEnv;
    home?: string;
    nodeVersion?: string;
    pathExistsSync?: (path: string) => boolean;
    platform?: NodeJS.Platform;
    readDirSync?: (path: string) => string[];
}
export interface OpenDesignBrowserOpener {
    command: string;
    args: string[];
}
export interface OpenDesignBrowserOpenerOptions {
    commandExists?: (command: string) => Promise<boolean>;
    env?: NodeJS.ProcessEnv;
    platform?: NodeJS.Platform;
    procVersionText?: string;
}
export declare function resolveOpenDesignDir(rawDir?: string, projectRoot?: string): string;
export declare function resolveOpenDesignOptions(options?: DesignOpenDesignOptions): OpenDesignResolvedOptions;
export declare function buildOpenDesignToolsDevArgs(options: Pick<OpenDesignResolvedOptions, "daemonPort" | "foreground" | "webPort">): string[];
export declare function resolveOpenDesignNodeRuntime(options?: OpenDesignNodeRuntimeOptions): OpenDesignNodeRuntime | null;
interface OpenDesignOmkBridgeResult {
    changedFiles: string[];
    appConfigPath: string;
    omkBin: string | null;
    compatibilityProfiles: OpenDesignCompatibilityProfile[];
}
type OpenDesignCompatibilityProfile = "runtime-registry" | "legacy-agents" | "route-shell";
export declare function ensureOpenDesignOmkBridge(checkoutDir: string): Promise<OpenDesignOmkBridgeResult>;
export declare function isWslRuntime(options?: Pick<OpenDesignBrowserOpenerOptions, "env" | "platform" | "procVersionText">): boolean;
export declare function resolveOpenDesignBrowserOpener(url: string, options?: OpenDesignBrowserOpenerOptions): Promise<OpenDesignBrowserOpener>;
export declare function designInitCommand(): Promise<void>;
export declare function designListCommand(): Promise<void>;
export declare function designApplyCommand(name: string): Promise<void>;
export declare function designSearchCommand(keyword: string): Promise<void>;
export declare function designOpenDesignCommand(options?: DesignOpenDesignOptions): Promise<void>;
export declare function designLintCommand(file?: string): Promise<void>;
export declare function designDiffCommand(from?: string, to?: string): Promise<void>;
export declare function designExportCommand(format: string, file?: string): Promise<void>;
export {};
