436a9631fc
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
599 B
TypeScript
22 lines
599 B
TypeScript
export declare class UUID {
|
|
private ascii;
|
|
private readonly binary;
|
|
private readonly version;
|
|
static readonly OID: Buffer;
|
|
constructor(uuid: Buffer | string);
|
|
static v5(name: string | Buffer, namespace: Buffer): any;
|
|
toString(): string;
|
|
inspect(): string;
|
|
static check(uuid: Buffer | string, offset?: number): false | {
|
|
version: undefined;
|
|
variant: string;
|
|
format: string;
|
|
} | {
|
|
version: number;
|
|
variant: string;
|
|
format: string;
|
|
};
|
|
static parse(input: string): Buffer;
|
|
}
|
|
export declare const nil: UUID;
|