import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js'; import type { SizeForArbitrary } from './_internals/helpers/MaxLengthFromMinLength.js'; /** * Constraints to be applied on {@link domain} * @remarks Since 2.22.0 * @public */ export interface DomainConstraints { /** * Define how large the generated values should be (at max) * @remarks Since 2.22.0 */ size?: Exclude; } /** * For domains * having an extension with at least two lowercase characters * * According to {@link https://www.ietf.org/rfc/rfc1034.txt | RFC 1034}, * {@link https://www.ietf.org/rfc/rfc1035.txt | RFC 1035}, * {@link https://www.ietf.org/rfc/rfc1123.txt | RFC 1123} and * {@link https://url.spec.whatwg.org/ | WHATWG URL Standard} * * @param constraints - Constraints to apply when building instances (since 2.22.0) * * @remarks Since 1.14.0 * @public */ export declare function domain(constraints?: DomainConstraints): Arbitrary;