import type { PathOperation } from './pageContext.ts'; import type { CliCommand } from './types.ts'; interface PushHarnessOptions { /** Show upload plan and confirm before pushing (tar flow) */ showPlan?: boolean; /** Prompt before confirmation */ prompt?: boolean; } /** * Create a push command from a push primitive (e.g. pushPathViaGit). * * The harness handles: * 1. Resolving target (server, credentials) * 2. Reading settings.json * 3. Validating template/slot directories vs settings * 4. Building page contexts via getPageData * 5. Optionally displaying upload plan + confirmation (tar flow) * 6. Pushing each context via the primitive * 7. Uploading/deleting uploads for each context * 8. Populating cache */ export declare function pushHarness(pushPrimitive: PathOperation, options?: PushHarnessOptions): CliCommand<[string?]>; export {}; //# sourceMappingURL=pushHarness.d.ts.map