import './parsers/index.js'; import type { SessionSource, SessionListEntry, NormalizedSession, DiscoveryWarning } from './types.js'; /** * Find a session by ID (full or prefix) and parse it. * Searches all sources in parallel unless source is specified. */ export declare function loadSession(sessionId: string, source?: SessionSource, onWarning?: (warning: DiscoveryWarning) => void): Promise; /** * List sessions from one or all sources, sorted by updatedAt desc. * Adapter-level discovery failures are reported through onWarning to preserve * the existing array return shape for internal callers. */ export declare function listSessions(source?: SessionSource, limit?: number, onWarning?: (warning: DiscoveryWarning) => void): Promise; import type { CwdScopeMeta } from './types.js'; export interface ScopedListSessionsResult { sessions: SessionListEntry[]; meta: CwdScopeMeta; } export declare function listSessionsScoped(source?: SessionSource, cwdMode?: string): Promise; //# sourceMappingURL=discovery.d.ts.map