import URL from '../url/URL.cjs';
import IBrowserFrame from '../browser/types/IBrowserFrame.cjs';
/**
 * Location.
 */
export default class Location extends URL {
    #private;
    /**
     * Constructor.
     *
     * @param browserFrame Browser frame.
     * @param url URL.
     */
    constructor(browserFrame: IBrowserFrame, url: string);
    /**
     * Override set href.
     */
    set href(url: string);
    /**
     * Override set href.
     */
    get href(): string;
    /**
     * Replaces the current resource with the one at the provided URL. The difference from the assign() method is that after using replace() the current page will not be saved in session History, meaning the user won't be able to use the back button to navigate to it.
     *
     * @param url URL.
     */
    replace(url: string): void;
    /**
     * Loads the resource at the URL provided in parameter.
     *
     * @param url URL.
     */
    assign(url: string): void;
    /**
     * Reloads the resource from the current URL.
     */
    reload(): void;
}
//# sourceMappingURL=Location.d.ts.map