export type { NightgateConfig } from '../srv/types';
export { DEFAULT_NETWORK, DEFAULT_NODE_URL } from '../srv/utils/nightgate-config';
export interface NightgateIndexerStatus {
    initialized: boolean;
    crawlerEnabled: boolean;
    network?: string;
    nodeUrl?: string;
    mode: 'idle' | 'active' | 'offline';
    lastError?: string;
}
/**
 * Thrown by `ensureSchemaDeployed` when a required CAP entity has no backing
 * table in the connected database. Carries the missing table name and the
 * resolved DB URL so the surfaced message is actionable without guessing.
 *
 * Production behaviour (in `src/plugin.ts::registerLifecycle`): this error is
 * caught, logged with a "RUN THIS" block, and the process exits non-zero so
 * the operator notices instead of half-booting against a stale schema.
 */
export declare class SchemaNotDeployedError extends Error {
    readonly missingTable: string;
    readonly dbPath: string;
    constructor(missingTable: string, dbPath: string, cause: unknown);
}
export declare function initialize(): Promise<NightgateIndexerStatus>;
export declare function shutdown(): Promise<void>;
export declare function getStatus(): NightgateIndexerStatus;
