/**
 * Filters and sorts OpenCode sessions by registered project directories.
 *
 * Only sessions whose directory matches a registered project path are included.
 * Results are sorted by most recent activity (updated or created time) descending.
 */
/**
 * Minimal OpenCode Session shape needed for filtering.
 * Based on OpenCode Session type from the SDK.
 */
export interface OpenCodeSession {
    id: string;
    directory: string;
    title: string;
    time: {
        created: number;
        updated: number;
    };
    [key: string]: unknown;
}
/**
 * Filter sessions to only those matching registered project paths,
 * then sort by most recent activity (updated time, falling back to created time).
 */
export declare function filterAndSortSessions(sessions: OpenCodeSession[], projectPaths: Set<string>): OpenCodeSession[];
//# sourceMappingURL=session-filter.d.ts.map