@artinet/sdk
Version:
TypeScript SDK for Agentic Communication
20 lines • 856 B
TypeScript
import { MessageSendParams } from "../../types/extended-schema.js";
/**
* Generates a timestamp in ISO 8601 format.
* @returns The current timestamp as a string.
*/
export declare function getCurrentTimestamp(): string;
/**
* Checks if a value is a plain object (excluding arrays and null).
* @param value The value to check.
* @returns True if the value is a plain object, false otherwise.
*/
export declare function isObject(value: unknown): value is Record<string, any>;
/**
* Validates a task send parameters object.
* @param params The parameters to validate
* @throws INVALID_PARAMS if the parameters are invalid
*/
export declare function validateSendMessageParams(params: any): asserts params is MessageSendParams;
export declare function extractTaskId(id: number | string | null | undefined): string;
//# sourceMappingURL=utils.d.ts.map