export type ParsedWorkspaceUrl = { ok: true; url: string; } | { ok: false; reason: string; }; export declare function parseWorkspaceUrl(raw: string): ParsedWorkspaceUrl; export declare function isLocalDevelopmentOrigin(currentUrl: string): boolean; export declare function shouldOfferWorkspace(currentUrl: string, workspaceUrl: string | null | undefined): boolean;