import { URI } from "../../../base/common/uri.js"; /** * Returns `true` when a session spans more than one effective working * directory (a *multi-root* session), and `false` otherwise — including when * the session has no working directories or exactly one. * * Callers pass the ordered set returned by * `IAgentConfigurationService.getEffectiveWorkingDirectories(session)` (index 0 * is the primary). Multi-root change-reporting behavior is gated on this * predicate, so single-root and empty sessions keep their existing behavior. */ export declare function isMultiRootSession(workingDirectories: readonly string[] | undefined): boolean; /** Returns a stable identity for a single working directory, used to key per-folder state. */ export declare function getWorkingDirectoryKey(workingDirectory: string): string; /** Returns a stable identity for an effective folder/worktree set. */ export declare function getWorkingDirectoryScopeId(workingDirectories: readonly string[]): string; /** * Finds the deepest working directory that contains `resource`. */ export declare function findDeepestContainingWorkingDirectory(resource: URI, workingDirectories: readonly URI[]): URI | undefined;