import type { CBORSchemaType } from "./type.js"; /** * Creates a schema for fixed-length tuples with heterogeneous types * * @template Schemas Array of schemas for each tuple element * @param schemas Array of schemas defining each element's type * * @example * ```typescript * import { cs } from "../cbor_schema.ts"; * const pointSchema = cs.tuple([ * cs.float, // x coordinate * cs.float // y coordinate * ]); * const encoded = cs.toCBOR(pointSchema, [10.5, 20.7]); * const decoded = cs.fromCBOR(pointSchema, encoded); // [10.5, 20.7] * ``` */ export declare function tuple(schemas: { [K in keyof T]: CBORSchemaType; }): CBORSchemaType; //# sourceMappingURL=tuple.d.ts.map