import type { EngineRuntimeState, RuntimeFormula, U32 } from '../runtime-state.js';
interface InitialDirectScalarRunChunkState {
    readonly workbook: EngineRuntimeState['workbook'];
    readonly wasm: EngineRuntimeState['wasm'];
    readonly counters: EngineRuntimeState['counters'];
}
export interface InitialDirectScalarRunChunkCandidate {
    readonly cellIndex: number;
    readonly sheetId: number;
    readonly row: number;
    readonly col: number;
    readonly runtimeFormula: RuntimeFormula;
}
export interface InitialDirectScalarRunChunkCollector {
    readonly candidateCount: number;
    readonly hasNativeChunks: () => boolean;
    readonly add: (candidate: InitialDirectScalarRunChunkCandidate) => boolean;
    readonly evaluate: () => U32 | undefined;
}
export interface InitialDirectScalarRunChunkCollectorOptions {
    readonly minChunkSize?: number;
    readonly maxChunkSize?: number;
}
export declare function createInitialDirectScalarRunChunkCollector(args: {
    readonly state: InitialDirectScalarRunChunkState;
    readonly options?: InitialDirectScalarRunChunkCollectorOptions;
}): InitialDirectScalarRunChunkCollector;
export {};
