export interface IUser { readonly userId?: string | null; readonly tokens: string[]; required(): string; optional(): string | undefined; /** * Passes if user has any of the specified tokens. */ hasAny(tokens?: string[]): boolean; /** * Passes if user has any of the specified tokens; otherwise an exception is thrown. */ checkAny(tokens?: string[]): void; /** * Passes if user has all specified tokens. */ hasTokens(tokens?: string[]): boolean; /** * Passes if user has all specified tokens. */ checkTokens(tokens?: string[]): void; } export interface IUserRequest { userId?: string | null; tokens?: string[]; } export interface IWithUser { user: IUser; } //# sourceMappingURL=interface.d.ts.map