UNPKG

593 BTypeScriptView Raw
1import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js';
2import type { StringSharedConstraints } from './_shared/StringSharedConstraints.js';
3export type { StringSharedConstraints } from './_shared/StringSharedConstraints.js';
4/**
5 * For base64 strings
6 *
7 * A base64 string will always have a length multiple of 4 (padded with =)
8 *
9 * @param constraints - Constraints to apply when building instances (since 2.4.0)
10 *
11 * @remarks Since 0.0.1
12 * @public
13 */
14declare function base64String(constraints?: StringSharedConstraints): Arbitrary<string>;
15export { base64String };