UNPKG

@notes-sync/service

Version:

Background service for AI-powered note synchronization

4 lines (3 loc) 867 B
import { ServiceConfig } from './config'; import { NoteInteractor } from './note-interactor'; export declare function createServer(config: ServiceConfig, scheduleSync: (reason: string) => void, noteInteractor: NoteInteractor): import("fastify").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault> & PromiseLike<import("fastify").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;