import { type GoWorkflowBoundary } from "./go-boundary.js"; export type GoWorkflowTransaction = { readonly boundary: GoWorkflowBoundary; readonly initialFiles: ReadonlySet; readonly originalFingerprint: string; readonly projectDir: string; readonly stagingProjectDir: string; readonly stagingRoot: string; }; type GoWorkflowTransactionOptions = { readonly onAfterCopy?: () => void; readonly onAfterCreateFile?: (relativePath: string) => void; }; export declare const GO_OWNED_PATHS: readonly [".persona/workflow/requirements", ".persona/workflow/requirements-analysis.md", ".persona/workflow/work", ".persona/workflow/history", ".persona/workflow/backlog.md", ".persona/workflow/rail-body-cache.json"]; export declare function beginGoWorkflowTransaction(projectDir: string, options?: GoWorkflowTransactionOptions): GoWorkflowTransaction; export declare function commitGoWorkflowTransaction(transaction: GoWorkflowTransaction, options?: GoWorkflowTransactionOptions): void; export declare function closeGoWorkflowTransaction(transaction: GoWorkflowTransaction): void; export {};