import { type Server } from "node:http"; import { type NotificationPreferences, type ReadTrayMenuModelOptions } from "../../view-model/src/index.js"; import { type LocalRuntime, type RuntimeLockOptions } from "../../runtime/src/index.js"; export interface LocalApiReaders { readSummary: () => Promise; readTodayLiveView: () => Promise; readNotificationDigest: () => Promise; readTrayMenuModel: () => Promise; readNotificationPreferences: () => Promise; writeNotificationPreferences: (preferences: NotificationPreferences) => Promise; } export interface LocalApiServerOptions { host?: string; port?: number; now?: () => Date; version?: string; viewModel?: ReadTrayMenuModelOptions; readers?: Partial; runtimeLock?: false | RuntimeLockOptions; preferences?: { cwd?: string; env?: Record; path?: string; }; localSessionToken?: string; } export interface LocalApiServer { server: Server; host: string; port: number; baseUrl: string; runtime: LocalRuntime; close: () => Promise; } export declare function startLocalApiServer(options?: LocalApiServerOptions): Promise; //# sourceMappingURL=server.d.ts.map