首次提交

This commit is contained in:
2026-07-13 12:06:16 +08:00
commit e3c810b1a6
1690 changed files with 228324 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
declare function hyperid(opts?: boolean | hyperid.Options): hyperid.Instance
declare namespace hyperid {
const decode: hyperid.decode
interface Options {
urlSafe?: boolean
fixedLength?: boolean
startFrom?: number
maxInt?: number
}
interface Instance {
(): string
decode: hyperid.decode
uuid: string
}
type decode = (id: string, opts?: hyperid.Options) => hyperid.IdObject
interface IdObject {
uuid: string
count: number
}
}
export = hyperid