import { ResolvedConfig } from "@trigger.dev/core/v3/build";
import { CliApiClient } from "../apiClient.js";
import { type DevCommandOptions } from "../commands/dev.js";
export type DevSessionOptions = {
    name: string | undefined;
    branch?: string;
    dashboardUrl: string;
    initialMode: "local";
    showInteractiveDevSession: boolean | undefined;
    rawConfig: ResolvedConfig;
    rawArgs: DevCommandOptions;
    client: CliApiClient;
    onErr?: (error: Error) => void;
    keepTmpFiles: boolean;
};
export type DevSessionInstance = {
    stop: () => void;
};
export declare function startDevSession({ rawConfig, name, branch, rawArgs, client, dashboardUrl, keepTmpFiles, }: DevSessionOptions): Promise<DevSessionInstance>;
