//#region src/prototype/index.d.ts declare const PROTOTYPE_LIST: string[]; /** * Represents the normalized runtime tag returned by {@link prototype}. */ type Prototype = (typeof PROTOTYPE_LIST)[number]; /** * Returns a normalized lowercase tag for the runtime category of `value`. * * Primitive values are classified with `typeof`. Objects and built-in platform * values are classified with `Object.prototype.toString`. * * @param value The value to classify. * @returns A normalized runtime tag such as `"string"`, `"record"`, `"url"`, or `"unknown"`. */ declare function prototype(value: unknown): Prototype; //#endregion //#region src/isUuidV7/index.d.ts /** * Determines whether `value` is a UUID version 7 string. * * @param value The value to test. * @returns `true` if `value` is a syntactically valid UUID whose version nibble is `7`; otherwise, `false`. */ declare function isUuidV7(value: unknown): value is string; //#endregion //#region src/safeStructuredClone/index.d.ts /** * Attempts to create a structured clone of `value` without throwing. * * @param value The value to clone. * @returns `[true, clone]` when `value` can be cloned with `structuredClone`; otherwise `[false]`. */ declare function safeStructuredClone(value: T): [true, T] | [false]; //#endregion //#region src/ISO31661Alpha2/index.d.ts /** * Represents an ISO 3166-1 alpha-2 country code. */ type ISO31661Alpha2 = 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'KH' | 'CM' | 'CA' | 'CV' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MK' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SZ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'US' | 'UM' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW'; /** * Returns a new set containing every supported ISO 3166-1 alpha-2 country code. * * @returns A fresh `Set` of uppercase two-character country codes. */ declare function getISO31661Alpha2CountryCodeSet(): Set; //#endregion //#region src/browserHasSovereignbaseDependencies/index.d.ts /** * Checks whether the current browser environment exposes the APIs required by * Sovereignbase browser features. * * The check requires a secure browser context plus storage, worker, * notifications, Web Crypto, and WebAuthn platform authenticator support. It * resolves to `false` in non-browser runtimes and unsupported browsers. * * @returns A promise that resolves to `true` when the required browser * dependencies are available; otherwise, `false`. */ declare function browserHasSovereignbaseDependencies(): Promise; //#endregion //#region src/afterIdleFor/index.d.ts /** * Creates a function that runs the callback after no calls have happened for * the requested timeout. * * @param timeout Milliseconds to wait after the latest call. * @param callback Function to run after the idle timeout expires. * @returns Function that restarts the idle timeout whenever it is called. */ declare function afterIdleFor(timeout: number, callback: () => void): () => void; //#endregion //#region src/isRecord/index.d.ts /** * Determines whether `value` is a plain object record. * * @param value The value to test. * @returns `true` if `value` is a non-null, non-array object whose prototype is backed by the `Object` constructor; otherwise, `false`. */ declare function isRecord(value: unknown): value is Record; //#endregion //#region src/isUuidV7BigInt/index.d.ts /** * Determines whether `value` is a bigint representation of a UUID version 7. * * @param value The value to test. * @returns `true` if `value` is inside the 128-bit UUID range and contains UUID v7 version and RFC 4122 variant bits; otherwise, `false`. */ declare function isUuidV7BigInt(value: unknown): value is bigint; //#endregion //#region src/safeBigIntFromString/index.d.ts /** * Converts a string to a bigint without throwing for invalid input. * * This uses the JavaScript `BigInt()` string conversion semantics. * * @param value The string to convert. * @returns `bigint` when conversion succeeds; otherwise, `false`. */ declare function safeBigIntFromString(value: string): bigint | false; //#endregion //#region src/uuidV7BigIntStringToBigInt/index.d.ts /** * Converts a bigint string to a UUID v7 bigint without throwing for invalid input. * * This uses the JavaScript `BigInt()` string conversion semantics, then validates * the resulting bigint as a UUID v7 bit layout. * * @param value The value to convert. * @returns A UUID v7 bigint when conversion and validation succeed; otherwise, `false`. */ declare function uuidV7BigIntStringToBigInt(value: unknown): bigint | false; //#endregion //#region src/isUint32/index.d.ts declare const UINT32_MIN = 0; declare const UINT32_MAX = 4294967295; declare const UINT32_SIZE = 4294967296; /** * Determines whether `value` is an unsigned 32-bit integer number. * * @param value The value to test. * @returns `true` if `value` is an integer number in the inclusive range 0 through 2^32 - 1; otherwise, `false`. */ declare function isUint32(value: unknown): value is number; //#endregion export { type ISO31661Alpha2, type Prototype, UINT32_MAX, UINT32_MIN, UINT32_SIZE, afterIdleFor, browserHasSovereignbaseDependencies, getISO31661Alpha2CountryCodeSet, isRecord, isUint32, isUuidV7, isUuidV7BigInt, prototype, safeBigIntFromString, safeStructuredClone, uuidV7BigIntStringToBigInt }; //# sourceMappingURL=index.d.ts.map