@deployport/specular-runtime
Version:
Runtime for Specular API clients with support for Node.js and Browser
26 lines (25 loc) • 849 B
TypeScript
import { StructInterface } from "../runtime/struct.js";
import Package from "./package.js";
import Struct, { StructPath } from "./struct.js";
export declare function defaultZeroTime(): Date;
export declare function dateIsZeroTime(date: Date): boolean;
export declare class BuiltinMetaInfo {
readonly Module: Package;
readonly ErrMeta: Struct;
readonly HeartbeatMeta: Struct;
constructor(module: Package, errMeta: Struct, builtinHeartbeatMeta: Struct);
}
export interface ErrProperties {
message: string;
resource?: string;
operation?: string;
code?: string;
}
export declare class Err extends Error implements ErrProperties, StructInterface {
get __structPath(): StructPath;
}
/**
* Returns the bultin protocol package
* @returns the Package instance
*/
export declare function BuiltinMeta(): BuiltinMetaInfo;