import { User } from "../types/user.types.js";
import * as mongoose36 from "mongoose";
import { Schema } from "mongoose";
import { Client, Token as Token$1 } from "oauth2-server";

//#region src/schemas/oAuth2.schema.d.ts
type Token = Omit<Token$1, 'client' | 'user'> & {
  clientId: Client['id'];
  userId: User['id'];
};
declare const accessTokenSchema: Schema<Token, mongoose36.Model<Token, any, any, any, mongoose36.Document<unknown, any, Token, any, {}> & Omit<Token$1, "user" | "client"> & {
  clientId: Client["id"];
  userId: User["id"];
} & {
  _id: mongoose36.Types.ObjectId;
} & {
  __v: number;
}, any>, {}, {}, {}, {}, mongoose36.DefaultSchemaOptions, Token, mongoose36.Document<unknown, {}, mongoose36.FlatRecord<Token>, {}, mongoose36.ResolveSchemaOptions<mongoose36.DefaultSchemaOptions>> & mongoose36.FlatRecord<Token> & {
  _id: mongoose36.Types.ObjectId;
} & {
  __v: number;
}>;
//#endregion
export { Token, accessTokenSchema };
//# sourceMappingURL=oAuth2.schema.d.ts.map