import type { Kysely } from 'kysely'; import { z } from 'zod'; import type { Api } from '../api'; import type { SqliteDatabase } from '../types'; declare const Config: z.ZodObject<{ sqliteConfig: z.ZodOptional; appId: z.ZodOptional; }, z.core.$strip>; /** * Self-acking HTTP source API, using configured SQLite config node or trying to find it in all nodes */ export declare const SourceHttpApi: (api: Api) => { new (config: any): { database: Promise>; parsedConfig: z.infer; buildGetMessageUrl(): Promise; getLastAckedMessageId(): Promise; ackMessage(messageId: string): Promise; isDestroying: boolean; nextMessageWaitTime: number; pendingProcessing: { messageId: string; resolve: VoidFunction; reject: (err: Error) => void; } | null; config: Promise>>; getMessageLoop(): Promise; setStatus(status: "waiting" | "pending" | "error"): void; onInput(message: z.core.output; payload: z.ZodObject<{ httpApiMessageId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ topic: z.ZodLiteral<"force-reset">; }, z.core.$strip>]>>): void; getMessage(): Promise; onDestroy(): void; api: Api; nodeConfig: unknown; messageZod: z.ZodUnion; payload: z.ZodObject<{ httpApiMessageId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ topic: z.ZodLiteral<"force-reset">; }, z.core.$strip>]>; getBaseUrls(): Promise>; getNodeEnvConfig(): import("../node").NodeEnvConfig; sendBuilder(inputMessage: import("../types").NodeMessage): import("../node").SendBuilder; handleMaybePromise(maybePromiseCb: () => (T | Promise), done: (err?: Error) => void): void; }; }; export {};