import type { Snapshots } from 'roosterjs-editor-types'; /** * Move current snapshot with the given step if can move this step. Otherwise no action and return null * @param snapshots The snapshots data structure to move * @param step The step to move * @returns If can move with the given step, returns the snapshot after move, otherwise null */ export default function moveCurrentSnapshot(snapshots: Snapshots, step: number): T | null; /** * @deprecated * For backward compatibility only */ export declare const moveCurrentSnapsnot: typeof moveCurrentSnapshot;