export interface RscFlightUrlBase { toString(): string; } export interface RscFlightRequestUrl extends RscFlightUrlBase { origin: string; searchParams: { get(name: string): string | null; }; } export type RscFlightClientPageUrlParamError = "empty-or-whitespace" | "not-absolute-path-or-url" | "invalid-url" | "hash" | "cross-origin"; export interface RscFlightClientPageUrlParamOptions { explicit: boolean; locationHref?: string; requestUrl: RscFlightUrlBase | string; } export interface RscFlightClientPageUrlParamResult { value?: string; error?: RscFlightClientPageUrlParamError; } export declare function getRscFlightClientPageUrlParam(value: string, options: RscFlightClientPageUrlParamOptions): RscFlightClientPageUrlParamResult; export type RscFlightRequestPageUrlError = "not-absolute-path" | "invalid-path" | "cross-origin-or-hash"; export interface RscFlightRequestPageUrlResult { value?: string; error?: RscFlightRequestPageUrlError; } export declare function resolveRscFlightRequestPageUrl(requestUrl: RscFlightRequestUrl): RscFlightRequestPageUrlResult; //# sourceMappingURL=flight-url.d.ts.map