import type { AuthenticatedRouteDeps } from '../deps.js'; import { respondStartupUnavailable } from '../../lib/startup-unavailable.js'; import type { StartupUnavailableGatewayMethod } from '../../../startup-readiness.js'; import type { Project } from '../../../../projects/types.js'; import type { SessionType } from '../../../../session/types.js'; export declare const sessionsRouteLog: import("../../../../utils/logger.js").ContextualLogger; export type SessionsStartupMethod = StartupUnavailableGatewayMethod; export declare const DEFAULT_SIDEBAR_STALE_DAYS = 60; export declare function isSessionType(value: string): value is SessionType; export declare function ensureGatewayReadyForSessions(c: Parameters[0], service: AuthenticatedRouteDeps['service'], method: SessionsStartupMethod): Response | null; export declare function parsePositiveInt(value: string | undefined, fallback: number, max: number): number; export declare function parseOffset(value: string | undefined): number; export declare function matchesIfNoneMatch(header: string | undefined, currentEtag: string): boolean; export declare function listAllSidebarProjects(service: AuthenticatedRouteDeps['service'], options?: { updatedAfter?: number; includePinned?: boolean; includeConversationId?: string; }): Project[]; export declare function isHistoryCursor(value: string): boolean;