import type { TrajectoryPositionStream } from './index';
export declare const plain_position_stream: ({ positions, n_frames, n_atoms, coords_unwrapped, frame_stride, elements, lattice_matrices, pbc, steps, }: TrajectoryPositionStream) => TrajectoryPositionStream;
interface AsyncResultBinding {
input: () => Input | undefined;
options: () => Options;
compute: (input: Input, options: Options, signal: AbortSignal) => Promise;
set_result: (result: Result | undefined) => void;
set_loading: (loading: boolean) => void;
set_error: (message: string | undefined) => void;
}
export declare function use_async_result(binding: AsyncResultBinding): void;
export {};