#!/usr/bin/env node import { launchdWebMaintenanceInfo } from "./launchd.js"; import type { LaunchdPaths } from "./launchd.js"; import type { LaunchdMaintenanceCommandArgs } from "./launchd-maintenance-command.js"; import type { LaunchdMaintenanceGateDependencies, LaunchdMaintenanceLifecycleLease } from "./launchd-maintenance-gate.js"; import { verifyManagedRuntimeMaintenanceEntrypoint } from "./managed-runtime-maintenance-entry.js"; import type { WebLogMaintenanceCommandArgs } from "./web-log-maintenance-command.js"; interface HeavyMaintenanceModule { readonly runLaunchdLogMaintenanceCommandWithLifecycleLease: (args: LaunchdMaintenanceCommandArgs, ownership: LaunchdMaintenanceLifecycleLease) => Promise; } interface HeavyWebMaintenanceModule { readonly runWebLogMaintenanceCommand: (args: WebLogMaintenanceCommandArgs) => Promise; } export interface LaunchdMaintenanceEntryDependencies { readonly gate: LaunchdMaintenanceGateDependencies; readonly pathsForLabel: (label: string) => LaunchdPaths; readonly verifyEntrypoint: typeof verifyManagedRuntimeMaintenanceEntrypoint; readonly loadHeavy: () => Promise; readonly loadWebHeavy?: () => Promise; readonly inspectWebHelper?: typeof launchdWebMaintenanceInfo; readonly currentEntrypointPath: string; readonly platform: NodeJS.Platform; readonly sleep: (milliseconds: number) => Promise; readonly stderr: (text: string) => void | Promise; } export declare function defaultLaunchdMaintenanceEntryDependencies(): LaunchdMaintenanceEntryDependencies; /** Dedicated entry: deterministic dispersion and the per-agent lease precede heavy imports. */ export declare function runLaunchdMaintenanceEntry(argv: readonly string[], env?: Record, deps?: LaunchdMaintenanceEntryDependencies): Promise; export {}; //# sourceMappingURL=launchd-maintenance-entry.d.ts.map