/** @internal Decode a SCALE compact integer, returning value and bytes consumed. */ export declare function decodeCompact(bytes: Uint8Array, offset: number): { value: number; bytesRead: number; }; /** @internal Encode a u32 in SCALE compact form. */ export declare function encodeCompact(value: number): Uint8Array; /** @internal Encode a SCALE string (compact length + UTF-8 bytes). */ export declare function encodeString(s: string): Uint8Array; /** * Navigate the host to a URL. * * Resolves when the host acknowledges the navigation. Rejects if the port is * unavailable, the host returns an error, or the request times out. */ export declare function navigateTo(url: string): Promise; //# sourceMappingURL=navigate.d.ts.map