import type { PluginDefinition } from "@penclipai/plugin-sdk"; type Scope = { resources: Set; active: number; }; type Resource = { keys: Set; absenceProofKeys: Set; confirmed: boolean; revision: number; scopeRevisions: Map; }; export type DaytonaIdleProof = { key: string; scope?: Scope; revisions: Map; }; /** Worker-local evidence complements the host's durable lease and task gates. */ export declare class DaytonaIdleActivity { private readonly requests; private readonly current; private readonly resources; track(run: () => Promise): Promise; resource(key: string, provisional?: boolean): Resource; /** Attach an observed immutable ID without reviving a confirmed allocation. */ observe(resource: Resource, key: string): void; private bump; private bumpScope; private bindKey; private foreignRevision; /** Capture before the provider read/stop/delete, never after its reply. */ proof(key: string): DaytonaIdleProof; confirm(proof: DaytonaIdleProof, absenceOnly?: boolean): void; present(): boolean; resetForTest(): void; } /** Count hooks before they start, including terminal/PTY setup before registration. */ export declare function trackDaytonaHooks(definition: PluginDefinition, activity: DaytonaIdleActivity): PluginDefinition; export {}; //# sourceMappingURL=idle-activity.d.ts.map