import { ISdkError } from "./errors/ISdkError.js"; import { IBridge } from "./IBridge.js"; import { IRequestParams } from "./request/contracts/IRequestParams.js"; import { PathObject } from "./services/config/pathObject.js"; declare class SdkError extends Error implements ISdkError { constructor(message: string); } export declare class Bridge implements IBridge { constructor(); setValueAtPath(obj: T, path: any[], value: any): void; getValueAtPath(obj: T, path: any[]): any; createSdkError(message: string): SdkError; getErrorMessage(error: T): string; encodeUriComponent(s: string): string; parsePath(path: string): PathObject; private configureHttp; testRegEx(str: string, regExp: string): boolean; isInteger(value: number): boolean; substring(str: string, start: number, end?: number): string; getObjectKeys(obj: T): string[]; jsonStringify(value: T): string; jsonParse(json: string): T; getEnv(name: string): string; log(data: any): void; runBackgroundTask(task: any): void; createReadStream(path: string): any; private constructFormData; request(params: IRequestParams): Promise; requestWithoutResponse(params: IRequestParams): Promise; uuid(): string; isoDate(): string; toISOString(seconds: number): string; jwtSign(payload: any, privateKey: string, alg: string, options?: any): string; jwtVerify(token: string, secretOrPublicKey: string, algorithm: string): any; jwtDecode(token: string): any; /** * * @returns amount of seconds since 1970-01-01T00:00:00Z */ getSystemTime(): number; /** * Derives the public key from a given RSA private key in PEM format. * @param privateKeyPEM - The RSA private key as a PEM-formatted string. * @returns The corresponding public key as a PEM-formatted string. */ derivePublicKeyFromPrivateKey(privateKeyPEM: string): string; } export {}; //# sourceMappingURL=bridge.d.ts.map