import { Connection } from '@solana/web3.js';
import { FillLog } from './manifest/accounts/FillLog';
import { FillLogResult } from './types';
/**
 * FillFeed example implementation.
 */
export declare class FillFeed {
    private connection;
    private wsManager;
    private shouldEnd;
    private ended;
    private lastUpdateUnix;
    constructor(connection: Connection);
    msSinceLastUpdate(): number;
    stopParseLogs(): Promise<void>;
    /**
     * Parse logs in an endless loop.
     */
    parseLogs(endEarly?: boolean): Promise<void>;
    /**
     * Handle a signature by fetching the tx onchain and possibly sending a fill
     * notification.
     */
    private handleSignature;
}
export declare const AGGREGATOR_PROGRAM_IDS: {
    readonly MEXkeo4BPUCZuEJ4idUUwMPu4qvc9nkqtLn3yAyZLxg: "Swissborg";
    readonly T1TANpTeScyeqVzzgNViGDNrkQ6qHz9KrSBS4aNXvGT: "Titan";
    readonly '6m2CDdhRgxpH4WjvdzxAYbGxwdGUz5MziiL5jek2kBma': "OKX";
    readonly proVF4pMXVaYqmy4NjniPh4pqKNfMmsihgd4wdkCX3u: "OKX";
    readonly DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBH: "DFlow";
    readonly JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4: "Jupiter";
    readonly SPURp82qAR9nvzy8j1gP31zmzGytrgDBKcpGzeGkka8: "Spur";
    readonly s7SunwrPG5SbViEKiViaDThPRJxkkTrNx2iRPN3exNC: "Bitget";
};
export declare const ORIGINATING_PROTOCOL_IDS: {
    readonly LiMoM9rMhrdYrfzUCxQppvxCSG1FcrUK9G8uLq4A1GF: "kamino";
    readonly UMnFStVeG1ecZFc2gc5K3vFy3sMpotq8C91mXBQDGwh: "cabana";
    readonly BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV: "jupiter";
    readonly '2MFoS3MPtvyQ4Wh4M9pdfPjz6UhVoNbFbGJAskCPCj3h': "jupiter";
    readonly HU23r7UoZbqTUuh3vA7emAGztFtqwTeVips789vqxxBw: "jupiter";
    readonly '6LXutJvKUw8Q5ue2gCgKHQdAN4suWW8awzFVC6XCguFx': "jupiter";
    readonly CapuXNQoDviLvU1PxFiizLgPNQCxrsag1uMeyk6zLVps: "jupiter";
    readonly GGztQqQ6pCPaJQnNpXBgELr5cs3WwDakRbh1iEMzjgSJ: "jupiter";
    readonly '9nnLbotNTcUhvbrsA6Mdkx45Sm82G35zo28AqUvjExn8': "jupiter";
    readonly '6U91aKa8pmMxkJwBCfPTmUEfZi6dHe7DcFq2ALvB2tbB': "jupiter";
    readonly '4xDsmeTWPNjgSVSS1VTfzFq3iHZhp77ffPkAmkZkdu71': "jupiter";
    readonly HFqp6ErWHY6Uzhj8rFyjYuDya2mXUpYEk8VW75K9PSiY: "jupiter";
    readonly '9yj3zvLS3fDMqi1F8zhkaWfq8TZpZWHe6cz1Sgt7djXf': "phantom";
    readonly '8psNvWTrdNTiVRNzAgsou9kETXNJm2SXZyaKuJraVRtf': "phantom";
    readonly B3111yJCeHBcA1bizdJjUFPALfhAfSRnAbJzGUtnt56A: "binance";
};
export declare function detectAggregatorFromKeys(accountKeys: string[]): string | undefined;
export declare function detectOriginatingProtocolFromKeys(accountKeys: string[]): string | undefined;
export declare const fillDiscriminant: Buffer;
export declare function toFillLogResult(fillLog: FillLog, slot: number, signature: string, originalSigner?: string, aggregator?: string, originatingProtocol?: string, signers?: string[], blockTime?: number): FillLogResult;
