import type { InboundMessage, SwiftListenerEvent, SwiftListenerOptions } from './types';
export type { SwiftListenerOptions };
export declare class SwiftListener {
    private readonly projectRoot;
    private readonly config;
    private readonly registry;
    private readonly store;
    private lastP2pId?;
    private lastFinId?;
    private running;
    private webhookServer?;
    private tcpServer?;
    constructor(projectRoot: string);
    processMessage(msg: InboundMessage): Promise<SwiftListenerEvent | null>;
    private maybeArchiveSource;
    processBatch(sources: InboundMessage[]): Promise<SwiftListenerEvent[]>;
    pollFileInbox(): Promise<SwiftListenerEvent[]>;
    pollAs4Inbox(): Promise<SwiftListenerEvent[]>;
    pollMailInbox(): Promise<SwiftListenerEvent[]>;
    pollTelexInbox(): Promise<SwiftListenerEvent[]>;
    pollP2pRail(): Promise<SwiftListenerEvent[]>;
    pollFinGateway(): Promise<SwiftListenerEvent[]>;
    private trackLastId;
    private startLongRunningAdapters;
    private pollIntervals;
    runPollCycle(): Promise<SwiftListenerEvent[]>;
    run(options?: SwiftListenerOptions): Promise<void>;
    shutdown(): void;
}
export declare function createSwiftListener(projectRoot: string): SwiftListener;
//# sourceMappingURL=listener.d.ts.map