import { z } from "zod"; declare const Summary: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; kind: z.ZodLiteral<"fresh-team-summary">; deploymentId: z.ZodString; space: z.ZodString; root: z.ZodString; server: z.ZodString; authMode: z.ZodOptional>; brokerPid: z.ZodOptional; manifestPath: z.ZodString; requestedAgents: z.ZodArray; declaredChannels: z.ZodArray; recordedAt: z.ZodISODateTime; managerRequested: z.ZodBoolean; controlPlaneReturned: z.ZodBoolean; authServiceReturned: z.ZodBoolean; deliveryResponderBound: z.ZodOptional>; agentReadiness: z.ZodLiteral<"not-checked">; }, z.core.$strict>; export type FreshTeamSummary = z.infer; declare const BootAttempt: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; kind: z.ZodLiteral<"fresh-team-attempt">; deploymentId: z.ZodString; space: z.ZodString; root: z.ZodString; server: z.ZodString; authMode: z.ZodOptional>; manifestPath: z.ZodString; createdAt: z.ZodISODateTime; }, z.core.$strict>; export type FreshTeamAttempt = z.infer; /** A returned summary settles only the same intent's target and completed startup commands; * an auth-mode responder that did not bind leaves it unsettled. A matched record never proves * current serving state or an agent join. */ export declare function freshTeamAttemptSettled(attempt: FreshTeamAttempt, summary: FreshTeamSummary | undefined): boolean; /** Publish one private intent before the launch spec or broker changes. A matching summary settles * the command's returned outcome; an intent without one remains a visible unknown, not authority * to retry or stop. The already prepared `.cotal` is fsynced before the first native effect. */ export declare function writeFreshTeamAttempt(root: string, attempt: FreshTeamAttempt): void; /** All root-local boot attempts. Invalid records remain visible and block any new fresh boot. */ export declare function listFreshTeamAttempts(root: string): { valid: FreshTeamAttempt[]; refused: { path: string; why: string; }[]; }; export declare function findFreshTeamAttempt(root: string, id: string): FreshTeamAttempt | undefined; /** A creation-only report of the native fresh boot command, not an additive ownership ledger. * No agent incarnation, grant, live process or current broker health is inferred from it. */ export declare function writeFreshTeamSummary(root: string, summary: FreshTeamSummary): void; export declare function findFreshTeamSummary(root: string, id: string): FreshTeamSummary | undefined; /** Never read a source manifest or launch spec to infer what a fresh boot did. Invalid native * summary files stay visible as refused, rather than disappearing from the inventory. A readable * summary that names another root, as one does after its folder was moved or copied, is listed in * `elsewhere`: it settles nothing here and reports only that root's earlier boot. */ export declare function listFreshTeamSummaries(root: string): { valid: FreshTeamSummary[]; refused: { path: string; why: string; }[]; elsewhere: { path: string; deploymentId: string; root: string; }[]; }; /** The other root a readable summary for this ID names, so a refusal can say where it was recorded. * Undefined when there is no such summary or the inventory cannot be read. */ export declare function freshTeamSummaryRecordedElsewhere(root: string, id: string): string | undefined; export {}; //# sourceMappingURL=team-fresh.d.ts.map