export declare function encodeRscPath(rscPath: string): string; export declare function decodeRscPath(rscPath: string): string; /** * Encodes `rscPath` under Waku's configured base path and RSC endpoint. * Returns a new URL preserving `baseUrl`'s origin, query, and fragment. * `baseUrl` must be absolute. */ export declare function formatRscUrl(rscPath: string, baseUrl: string | URL): URL; export declare function encodeServerFunctionId(serverFunctionId: string): string; export declare function decodeServerFunctionId(encoded: string): string | null;