///
export declare function getEnv(name: string): string;
export declare function log(title: any, ...args: any[]): void;
export interface RetryOptions {
/** How many retries (will at least try once) */
readonly attempts: number;
/** Sleep base, in ms */
readonly sleep: number;
}
export declare function withRetries, B>(options: RetryOptions, fn: (...xs: A) => Promise): (...xs: A) => Promise;
export declare function parseJsonPayload(payload: string | Buffer | Uint8Array | undefined | null): any;