import type { SandboxBackend } from "#public/definitions/sandbox-backend.js";
import type { LocalSandboxCreateOptions } from "#public/sandbox/local-sandbox.js";
/**
 * Construction input for {@link createLocalSandboxBackend}. Internal —
 * the public surface is the `localBackend()` factory under
 * `eve/sandbox`.
 */
export interface CreateLocalSandboxBackendInput {
    readonly createOptions?: LocalSandboxCreateOptions;
}
/**
 * Creates the local just-bash-backed sandbox backend.
 *
 * The cache directory is derived from the runtime context's `appRoot`
 * on every `create` call so the backend stays stateless and matches
 * the framework's per-call dispatch contract.
 *
 * Accepts `createOptions` for parity with other backends; the local
 * backend currently has no consumer-controllable create options so the
 * value is reserved for future widening of {@link LocalSandboxCreateOptions}.
 */
export declare function createLocalSandboxBackend(_input?: CreateLocalSandboxBackendInput): SandboxBackend;
/**
 * Starts best-effort cleanup for stale local just-bash templates without
 * delaying `eve dev` startup or rebuild handling.
 */
export declare function pruneLocalSandboxTemplatesInBackground(appRoot: string): void;
export declare function pruneLocalSandboxTemplates(input: {
    readonly appRoot: string;
    readonly now?: number;
    readonly recentWindowMs?: number;
    readonly retainCount?: number;
}): Promise<void>;
