import type { CampaignCycle, CampaignWorkspace, OperatorDecision } from "./models.js"; export interface MarketingPaths { root: string; workspace: string; inputs: string; cycles: string; reports: string; decisions: string; } export declare function resolveMarketingWorkspace(path?: string): string; export declare function marketingPaths(root: string): MarketingPaths; export declare function ensureMarketingDirs(root: string): MarketingPaths; export declare function jsonFile(path: string): T; export declare function maybeJsonFile(path: string): T | undefined; export declare function writeJsonFile(path: string, value: unknown): void; export declare function initMarketingWorkspace(input: { workspacePath?: string; accountHandle: string; now?: string; }): CampaignWorkspace; export declare function loadMarketingWorkspace(workspacePath?: string): CampaignWorkspace; export declare function saveMarketingWorkspace(workspacePath: string | undefined, workspace: CampaignWorkspace): void; export declare function cyclePath(root: string, cycleId: string): string; export declare function saveCampaignCycle(workspacePath: string | undefined, cycle: CampaignCycle): void; export declare function loadCampaignCycle(workspacePath: string | undefined, cycleId: string): CampaignCycle; export declare function loadActiveCampaignCycle(workspacePath: string | undefined, workspace: CampaignWorkspace): CampaignCycle | undefined; export declare function appendOperatorDecision(workspacePath: string | undefined, decision: OperatorDecision): void; export declare function reportPath(workspacePath: string | undefined, cycleId: string, kind: string): string; export declare function writeReport(workspacePath: string | undefined, cycleId: string, kind: string, content: string): void;