import type { ScopedId, TenantId, TenantShortId } from "../helpers/config-agnostic-types.js"; import { type UUIDV8 } from "../helpers/utils.js"; import type { NamedEntityTypeConfigs } from "../index.js"; export declare function makeMakeScopedIdBound(tenantScopedEntityTypeConfigs: T): (tenantId: TenantId, entityType: K, date?: Date) => ScopedId; export declare function makeScopedId(tenantScopedEntityTypeConfigs: T, tenantId: TenantId, entityType: K, date?: Date): ScopedId; /** * NB: filling in T is just a convenient way to do a cast if you (think you) * know what type of id you're getting from the outside world. */ export declare function isScopedId(id: UUIDV8): id is ScopedId; /** * NB: filling in T is just a convenient way to do a cast if you (think you) * know what type of id you're getting from the outside world. */ export declare function stringIsScopedId(id: string): id is ScopedId; export declare function getTenantShortIdFromScopedId(id: ScopedId): TenantShortId; export declare function scopedIdsBelongToSameTenant(ids: ScopedId[]): boolean; //# sourceMappingURL=tenant-scoped-entity-ids.d.ts.map