near-workspaces
Version:
Write tests in TypeScript/JavaScript to run in a controlled NEAR Sandbox local environment.
15 lines • 603 B
TypeScript
import { type CallSite } from 'callsites';
import { KeyPair } from '../types';
export declare function findCallerFile(): [string, number];
export declare function callsites(): CallSite[];
export interface KeyFilePrivate {
private_key: string;
}
export interface KeyFileSecret {
secret_key: string;
}
export type KeyFile = KeyFilePrivate | KeyFileSecret;
export declare function getKeyFromFile(filePath: string, create?: boolean): Promise<KeyPair>;
export declare function hashPathBase64(s: string): string;
export declare function sanitize(s: string): string;
//# sourceMappingURL=utils.d.ts.map