import { Config } from "../config.js"; import { BathymetrySource } from "../types.js"; import { ServerAPI } from "@signalk/server-api"; import { HistoryApi } from "@signalk/server-api/history"; export declare function createHistorySource(app: ServerAPI, config: Config, options?: HistorySourceOptions): Promise; export interface HistorySourceOptions { port?: number; host?: string; } export type HistoryAPIOptions = { app: ServerAPI; host?: string; }; /** * The History Provider API is new and may not be available. This uses a provider if available, * and otherwise falls back to direct HTTP access if available. */ export declare function getHistoryAPI({ app, port, host, }: HistoryAPIOptions): Promise; //# sourceMappingURL=history.d.ts.map