import { z } from 'zod'; declare const DaemonOwnerSchema: z.ZodObject<{ pid: z.ZodNumber; identity: z.ZodObject<{ startTime: z.ZodString; }, z.core.$strict>; version: z.ZodString; cliPath: z.ZodString; }, z.core.$strict>; export type DaemonOwner = z.infer; export declare function readDaemonOwner(globalConfigDirectory: string): DaemonOwner | undefined; export declare function writeDaemonOwner(globalConfigDirectory: string, owner: DaemonOwner): void; export declare function registerDaemonOwner(globalConfigDirectory: string, owner: DaemonOwner): boolean; /** Removes the owner record only when it still names the given process, so a newer daemon keeps its record. */ export declare function removeDaemonOwner(globalConfigDirectory: string, expected: DaemonOwner): void; export declare function isDaemonOwnerRunning(owner: DaemonOwner): boolean; export {}; //# sourceMappingURL=owner.d.ts.map