/** * Low-level Effect wrappers for Location and its usage via Context. * @since 8.19.0 */ import * as Context from "@typed/context"; import type * as Effect from "effect/Effect"; /** * Context for the Location object * @since 8.19.0 * @category models */ export interface Location extends globalThis.Location { } /** * Context for the Location object * @since 8.19.0 * @category context */ export declare const Location: Context.Tagged; /** * Get the href from the current Location * @since 8.19.0 * @category getters */ export declare const getHref: Effect.Effect; /** * Get the origin from the current Location * @since 8.19.0 * @category getters */ export declare const getOrigin: Effect.Effect; /** * Get the protocol from the current Location * @since 8.19.0 * @category getters */ export declare const getProtocol: Effect.Effect; /** * Get the host from the current Location * @since 8.19.0 * @category getters */ export declare const getHost: Effect.Effect; /** * Get the hostname from the current Location * @since 8.19.0 * @category getters */ export declare const getHostname: Effect.Effect; /** * Get the port from the current Location * @since 8.19.0 * @category getters */ export declare const getPort: Effect.Effect; /** * Get the pathname from the current Location * @since 8.19.0 * @category getters */ export declare const getPathname: Effect.Effect; /** * Get the search params string from the current Location * @since 8.19.0 * @category getters */ export declare const getSearch: Effect.Effect; /** * Get the hash from the current Location * @since 8.19.0 * @category getters */ export declare const getHash: Effect.Effect; /** * Assign the current URL * @since 8.19.0 * @category actions */ export declare const assign: (url: string) => Effect.Effect; /** * Reload the current URL * @since 8.19.0 * @category getters */ export declare const reload: Effect.Effect; /** * Replace the current URL * @since 8.19.0 * @category getters */ export declare const replace: (url: string) => Effect.Effect; //# sourceMappingURL=Location.d.ts.map