import { type Server } from 'net';
import type { InboundMessage } from '../types';
/** Extract FIN messages from a TCP buffer (brace blocks or $...$ framed). */
export declare function extractFinMessages(buffer: string): {
    messages: string[];
    remainder: string;
};
export type SwiftFinTcpServerOptions = {
    host: string;
    port: number;
    onMessage: (msg: InboundMessage) => void;
};
export declare function startSwiftFinTcpServer(options: SwiftFinTcpServerOptions): Server;
//# sourceMappingURL=swiftFinTcpAdapter.d.ts.map