import { ObservableDescriptor } from "@selfage/observable/descriptor";
export declare class HistoryLoader<T> {
    private stateDescriptor;
    private queryParamKey;
    private window;
    state: T;
    constructor(stateDescriptor: ObservableDescriptor<T>, queryParamKey: string, window: Window);
    static create<T>(stateDescriptor: ObservableDescriptor<T>, queryParamKey: string): HistoryLoader<T>;
    init(): this;
    private load;
}
