import { type MaxLengthArray, type SupportedLength } from 'ts-type-forge';
import { type Type } from '../type.mjs';
export type { MaxLengthArray } from 'ts-type-forge';
/**
* Creates a `Type` for a readonly array with at most `maxLength` elements,
* typed as the branded {@link MaxLengthArray} instead of the union of tuple
* types produced by `maxLengthTuple`.
*
* Because the length constraint lives only in the brand, no union of tuples
* of the element type is ever constructed, which keeps type-checking cheap
* even when `A` is a large type.
*/
export declare function maxLengthArray(maxLength: N, elementType: Type, options?: Partial;
}>>): Type>;
export declare function maxLengthArray(maxLength: number, elementType: Type, options?: Partial>): Type;
//# sourceMappingURL=max-length-array.d.mts.map