import { UserAlias } from "./UserAlias"; /** * @description * * Type for user ref. Technically it is a string, but it has an additional * marker (tag) to distinguish it from other strings at the compilation level, * and mark that it was actually validated as a user ref. Also, any user alias * is a valid user ref as well. * * You may use the `asValidUserRef` function to validate any string as a user ref * and return it as the `UserRef` type. */ export type UserRef = (string & { __userRef__: void; }) | UserAlias; export declare function asValidUserRef(value: unknown): UserRef; //# sourceMappingURL=UserRef.d.ts.map