import { IEquatable } from './IEquatable'; /** * Represents a Guid according to the http://www.ietf.org/rfc/rfc4122.txt. */ export declare class Guid implements IEquatable { readonly bytes: number[] | Uint8Array; private _stringVersion; /** * Initializes a new instance of the {@link Guid} class. * @param {number[] | Uint8Array} bytes - The 16 bytes that represents the Guid. */ constructor(bytes: number[] | Uint8Array); /** * Creates a new random {@link Guid}. * @returns {Guid} The random Guid. */ static create(): Guid; /** @inheritdoc */ equals(other: any): boolean; /** * Return a string representation of the {@link Guid} in the format: 00000000-0000-0000-0000-000000000000. * @returns {string} The formatted string. */ toString(): string; /** * Parses a string and turns it into a {@link Guid}. * @param {string} guid - String representation of Guid. * @returns {Guid} The parsed Guid. */ static parse(guid: string): Guid; /** * Parses if the type is a string parse, otherwise pass through the input as desired output type. * @template T Type to handle for. * @param {string|T} input - String or the generic type. * @returns {T} Identifier Parsed or passed through. */ static as(input: string | T): T; /** * Gets an instance of the empty {@link Guid}. */ static get empty(): Guid; } /** * Checks whether or not an object is an instance of {@link Guid}. * @param {any} object - The object to check. * @returns {boolean} True if the object is a {@link Guid}, false if not. */ export declare const isGuid: (object: any) => object is Guid; //# sourceMappingURL=Guid.d.ts.map