/** * KagemushaConnector — reads messages from the Kagemusha local SQLite database. * Queries channel_messages table for user messages newer than the given timestamp. * Uses the standalone's node:sqlite wrapper (Database from ../../sqlite.js). */ import type { AuthRequirement, ConnectorConfig, ConnectorHealth, IConnector, NormalizedItem } from '../framework/types.js'; export declare class KagemushaConnector implements IConnector { readonly name = "kagemusha"; readonly type: "local"; private db; private dbPath; private lastPollTime; private lastPollCount; private lastError; constructor(_config: ConnectorConfig, dbPath?: string); init(): Promise; dispose(): Promise; healthCheck(): Promise; getAuthRequirements(): AuthRequirement[]; authenticate(): Promise; poll(since: Date): Promise; /** * Bulk poll: read ALL messages from a given start date, no limit. * Used for historical ingest, not regular polling. * Yields batches to avoid memory pressure on large datasets. */ pollBulk(since: Date, batchSize?: number): AsyncGenerator; /** Get total counts for progress reporting */ getCounts(): Promise<{ messages: number; tasks: number; rooms: number; }>; } //# sourceMappingURL=index.d.ts.map