/**
 * Handler for log pull protocol messages on the orchestrator side.
 *
 * Responds to Platform requests for historical logs (log.request).
 * Reads from LogStorage, supports pagination via cursor/limit,
 * and filtering by jobName/stepIndex.
 *
 * Live logs flow via the push-based log.chunk -> BrowserFanOut path
 * and are not handled here.
 */
import type { LogStorage } from './log-storage.js';
import type { ExecutionTracker } from './execution-tracker.js';
export interface LogPullHandlerDeps {
    logStorage: LogStorage;
    executionTracker: ExecutionTracker;
    /** Callback to send response messages back over WS */
    send: (message: unknown) => void;
}
export declare class LogPullHandler {
    private readonly deps;
    constructor(deps: LogPullHandlerDeps);
    /**
     * Handle log.request -- read logs from storage and respond.
     * Supports filtering by jobName and stepIndex, pagination via cursor/limit.
     */
    handleRequest(msg: {
        messageId: string;
        executionId: string;
        jobName?: string;
        stepIndex?: number;
        cursor?: number;
        limit?: number;
    }): Promise<void>;
}
//# sourceMappingURL=log-pull-handler.d.ts.map