import { ProvisionResult } from '../../provision/types.ts'; import { PathSpec } from '../../types.ts'; import type { MountRegistry } from '../mount/registry.ts'; import type { Namespace } from '../mount/namespace/namespace.ts'; import type { Session } from '../session/session.ts'; /** * Estimate cost of a simple command. * * Paths are namespace-followed first (a symlinked read costs its * target, and the cache-hit check sees the entry the executor would * actually serve), then grouped by mount: a command spanning mounts * is estimated per mount against each mount's own backend and the * results summed, instead of statting foreign paths against the * first path's backend. */ export declare function handleCommandProvision(registry: MountRegistry, parts: readonly (string | PathSpec)[], session: Session, namespace?: Namespace | null): Promise; //# sourceMappingURL=command.d.ts.map