UNPKG

speech-provider

Version:

A unified interface for browser speech synthesis and Eleven Labs voices

20 lines 815 B
import { z } from "zod"; /** * Validates an array of objects against a Zod schema * @param objects - The array of objects to validate * @param schema - The Zod schema to validate against * @throws {Error} If validation fails */ export declare function checkObjectsAgainstSchema<T>(objects: unknown[], schema: z.ZodType<T>): void; interface PrintDistinctPropertyValuesOptions { omit?: string[]; } /** * Prints distinct values for each property in an array of objects * Useful for debugging API responses * @param objects - The array of objects to analyze * @param options - Options for printing */ export declare function printDistinctPropertyValues<T extends Record<string, unknown>>(objects: T[], options?: PrintDistinctPropertyValuesOptions): void; export {}; //# sourceMappingURL=debugging.d.ts.map