import { type Result } from "@fjall/generator"; import type { DeployCallbacks } from "../../types/callbacks.js"; import type { DeploymentContext } from "../../types/deployment/DeploymentTypes.js"; import { type ApplicationOperation } from "../../types/operations.js"; import type { DeployServices } from "../serviceFactory.js"; import type { DetectionResult } from "../../types/detection/detection.js"; export type { DetectionResult }; /** * Pre-deployment analysis pipeline. * * Detects the application pattern, synthesises infrastructure, computes * template hashes, and determines which stacks have changed. */ export declare function runDetectionPipeline(operation: ApplicationOperation, services: DeployServices, context: DeploymentContext, callbacks: DeployCallbacks, abortSignal?: AbortSignal): Promise>;