import type { ChangeSet } from "./snapshot-types.js";
export type RevertSelector = {
    type: "id";
    id: number;
} | {
    type: "last";
    count: number;
} | {
    type: "range";
    from: number;
    to: number;
};
export interface ResolvedRevertSelection {
    selector: RevertSelector;
    changeSets: ChangeSet[];
}
export declare function parseRevertSelector(input: string): RevertSelector;
export declare function resolveRevertSelection(allChangeSets: readonly ChangeSet[], selector: RevertSelector): ResolvedRevertSelection;
//# sourceMappingURL=revert-selection.d.ts.map