import { UserAPI } from "./user.types.js";
import { OrganizationAPI } from "./organization.types.js";
import { ProjectAPI } from "./project.types.js";
import { Document, Model } from "mongoose";
import { Token } from "oauth2-server";

//#region src/types/oAuth2.types.d.ts
type OAuth2Token = Token & {
  organization: OrganizationAPI;
  project: ProjectAPI;
  user: UserAPI;
};
type OAuth2TokenSchema = OAuth2Token;
type OAuth2TokenModelType = Model<OAuth2Token>;
type OAuth2TokenDocument = Document<unknown, {}, OAuth2Token> & OAuth2Token;
//#endregion
export { OAuth2Token, OAuth2TokenDocument, OAuth2TokenModelType, OAuth2TokenSchema };
//# sourceMappingURL=oAuth2.types.d.ts.map