import { type FixedLengthArray, type SupportedLength } from 'ts-type-forge'; import { type Type } from '../type.mjs'; export type { FixedLengthArray } from 'ts-type-forge'; /** * Creates a `Type` for a readonly array with exactly `size` elements, typed as * the branded {@link FixedLengthArray} instead of the structural tuple type * produced by `fixedLengthTuple`. * * Because the length constraint lives only in the brand, the element type is * never expanded into tuple positions, which keeps type-checking cheap even * when `A` is a large type. Prefer this over `fixedLengthTuple` when `A` is * large; prefer `fixedLengthTuple` when positional element types or a literal * `length` are needed. */ export declare function fixedLengthArray(size: N, elementType: Type, options?: Partial; }>>): Type>; export declare function fixedLengthArray(size: number, elementType: Type, options?: Partial>): Type; //# sourceMappingURL=fixed-length-array.d.mts.map