import { type SessionBackendId } from '../config.js'; import type { RoleRecord } from './types.js'; export interface RoleRepositoryOptions { configPath?: string; permanentRoot?: string; temporaryRoot?: string; probeBackend?: (name: string, intended?: SessionBackendId) => Promise<{ acp?: boolean; backend?: SessionBackendId; }>; concurrency?: number; timeoutMs?: number; } export declare class RoleRepository { private readonly options; constructor(options?: RoleRepositoryOptions); list(): Promise; get(id: string): Promise; stateDir(record: RoleRecord): string | undefined; private detect; }