import { isly } from "isly"; import { Base16 } from "../Base16"; import { Base64 } from "../Base64"; import { Length as IdentifierLength } from "./Length"; import { Standard as IdentifierStandard } from "./Standard"; export type Identifier = string; export declare namespace Identifier { export import Length = IdentifierLength; export import Standard = IdentifierStandard; const type: isly.Type; function is(value: Identifier | any, length?: Length): value is Identifier; const flaw: (value: string | any) => isly.Flaw; function convert(identifier: Identifier, length: Length, standard?: Identifier.Standard): Identifier; function convert(identifier: Identifier, from: Identifier.Standard, to?: Identifier.Standard): Identifier; function fromBase16(value: Base16, standard?: Identifier.Standard): Identifier; function toBase16(identifier: Identifier, standard?: Identifier.Standard): Base16; function fromUint24(value: number, standard?: Identifier.Standard): Identifier; function toUint24(identifier: Identifier, standard?: Identifier.Standard): number; function fromUint48(value: number, standard?: Identifier.Standard): Identifier; function toUint48(identifier: Identifier, standard?: Identifier.Standard): number; function fromBinary(identifier: Uint8Array, standard?: Identifier.Standard): Identifier; function toBinary(identifier: Identifier, standard?: Identifier.Standard): Uint8Array; function generate(length: Length, standard?: Identifier.Standard, prefix?: Base64 | Uint8Array | number | bigint): Identifier; function min(length: Length, standard?: Identifier.Standard): Identifier; function max(length: Length, standard?: Identifier.Standard): Identifier; function next(identifier: Identifier, standard?: Identifier.Standard, increment?: number): Identifier; function previous(identifier: Identifier, standard?: Identifier.Standard, decrement?: number): Identifier; }