/** Fixed per-UID short temp base (never ambient $TMPDIR). */ export declare function shortTempRoot(uid?: number): string; export interface ShortTempAllocation { /** The allocated per-agent short TMPDIR (exists, mode 0700). */ dir: string; } /** * Allocate the per-agent short temp dir. Throws when the mux-socket length * preflight fails or the base cannot be created safely. */ export declare function allocateShortTempDir(agentId: string, uid?: number): ShortTempAllocation; export interface ShortTempRemoval { removed: boolean; /** Present when the path was refused (never for a merely-missing dir). */ refusedReason?: string; } /** * Idempotent, exactly-gated removal. Only a path of the exact shape * `/tmp/tp-/` (component matching the allocator's grammar, * no traversal) is ever recursively deleted; ancestors, siblings, and forged * paths are refused with a diagnostic. A missing dir counts as removed. */ export declare function removeShortTempDir(dir: string): ShortTempRemoval; //# sourceMappingURL=short-temp.d.ts.map