@baqhub/sdk
Version:
The official JavaScript SDK for the BAQ federated app platform.
20 lines (19 loc) • 843 B
TypeScript
declare function random(length: number): string;
declare function parseQuery(source: string): (readonly [string, string])[];
declare function buildQuery(params: ReadonlyArray<readonly [string, string]>): string;
declare function toUrlBase64(source: string): string;
declare function fromUrlBase64(source: string): string;
declare function unicodeLength(source: string): number;
declare function unicodeIndex(source: string, index: number): number;
declare function jsLength(source: string, length: number): number;
export declare const Str: {
random: typeof random;
toUrlBase64: typeof toUrlBase64;
fromUrlBase64: typeof fromUrlBase64;
parseQuery: typeof parseQuery;
buildQuery: typeof buildQuery;
unicodeLength: typeof unicodeLength;
unicodeIndex: typeof unicodeIndex;
jsLength: typeof jsLength;
};
export {};