import type { BuildTarget } from "@fabric-harness/node"; import { type DeployRegistry } from "./deploy/targets.js"; import { type DoctorCheck } from "./doctor-databricks.js"; import { FabricHarnessError } from "./errors.js"; export interface DeployOptions { target: BuildTarget; preview?: boolean; profile?: string | undefined; envFiles?: string[]; envName?: string; withApp?: boolean; artifactDir?: string; } export interface DatabricksServingPreflightOptions { workspaceRoot: string; /** Doctor checks to evaluate. Defaults to `runDatabricksDoctorChecks("databricks-serving")`. Injectable for tests. */ checks?: DoctorCheck[]; /** File-existence probe. Defaults to `existsSync`. Injectable for tests. */ fileExists?: (filePath: string) => boolean; } export interface DatabricksServingPreflightResult { ok: boolean; failures: DoctorCheck[]; buildOutputPresent: boolean; buildOutputDir: string; } /** * Network-free prerequisite detection for `fh deploy --target databricks-serving`: * the doctor preflight must pass, and we report whether build output already exists * for the target (deploy rebuilds either way, so a missing build is informational). */ export declare function runDatabricksServingPreflight(options: DatabricksServingPreflightOptions): Promise; export declare function formatDatabricksPreflightError(failures: DoctorCheck[]): FabricHarnessError; export interface DeployCommandDeps { /** Deploy driver registry. Defaults to `createDefaultDeployRegistry()`. Injectable for tests. */ registry?: DeployRegistry; /** Serving preflight. Defaults to `runDatabricksServingPreflight`. Injectable for tests. */ preflight?: (options: DatabricksServingPreflightOptions) => Promise; } export declare function deployCommand(args: string[], deps?: DeployCommandDeps): Promise; //# sourceMappingURL=deploy.d.ts.map