import { Data } from "./Data.js"; /** * parses the result of `data.toString()` * * @param {string} str data * * @returns and object with the parsed data and the length of the string used as `offset` */ export declare function dataFromStringWithOffset(str: string): { data: Data; offset: number; }; /** * parses the result of `data.toString()` * * @param {string} str data */ export declare function dataFromString(str: string): Data;