import { ProtectedRecordStore, type LocalRecordSnapshot } from "./protected-records.js"; declare const steps: readonly ["disable", "unit", "reload", "private-store", "receipt"]; export interface ServiceUninstallIntent { schemaVersion: 1; attemptId: string; space: string; definition: string; definitionRevision: string; instanceId: string; machine: string; uid: number; unit: string; unitPath: string; unitSha256: string; privateHome: string; privateTreeSha256: string; step: typeof steps[number]; position: "planned" | "submitted" | "acknowledged" | "unknown"; createdAt: string; updatedAt: string; } export declare function serviceUninstallIntentProjection(value: ServiceUninstallIntent): { attemptId: string; unit: string; unitPath: string; privateHome: string; step: "unit" | "reload" | "receipt" | "disable" | "private-store"; position: "unknown" | "planned" | "submitted" | "acknowledged"; lastAcknowledgedStep: "unit" | "reload" | "receipt" | "disable" | "private-store" | null; updatedAt: string; }; export declare const serviceUninstallIntentStore: (space: string) => ProtectedRecordStore; export declare function serviceUninstallIntentFor(space: string, id: string): LocalRecordSnapshot | undefined; export declare function serviceUninstallIntents(space: string): LocalRecordSnapshot[]; export declare function beginServiceUninstallIntent(value: ServiceUninstallIntent): LocalRecordSnapshot; export declare function advanceServiceUninstallIntent(expected: LocalRecordSnapshot, step: ServiceUninstallIntent["step"], position: ServiceUninstallIntent["position"]): LocalRecordSnapshot; export {}; //# sourceMappingURL=service-uninstall-intent.d.ts.map