import type { AttachStartup } from "../modes/interactive/attach-startup.ts";
import { type Args } from "./args.ts";
export type HeldSessionAttachPlan = {
    readonly startup: AttachStartup;
} | {
    readonly refusal: string;
};
/**
 * The command line of a terminal start that attaches to a host-held session (senpi#6911): its prompts, `@file`
 * arguments, `--model` and `--thinking` become the attached session's own commands, never dropped silently. What
 * cannot be applied exactly (a model pattern without a provider) refuses the start instead.
 */
export declare function heldSessionAttachPlan(parsed: Args, options: {
    readonly autoResizeImages: boolean;
}): Promise<HeldSessionAttachPlan>;
//# sourceMappingURL=held-session-attach.d.ts.map