import { User } from "../types/user.types.js";
import { Plan } from "../types/plan.types.js";
import { Organization, OrganizationSchema } from "../types/organization.types.js";
import * as mongoose$1 from "mongoose";
import { Schema } from "mongoose";

//#region src/schemas/organization.schema.d.ts
declare const organizationSchema: Schema<OrganizationSchema, mongoose$1.Model<OrganizationSchema, any, any, any, (mongoose$1.Document<unknown, any, OrganizationSchema, any, mongoose$1.DefaultSchemaOptions> & Omit<Organization, "id"> & {
  _id: mongoose$1.Types.ObjectId;
} & Required<{
  _id: mongoose$1.Types.ObjectId;
}> & {
  __v: number;
} & {
  id: string;
}) | (mongoose$1.Document<unknown, any, OrganizationSchema, any, mongoose$1.DefaultSchemaOptions> & Omit<Organization, "id"> & {
  _id: mongoose$1.Types.ObjectId;
} & Required<{
  _id: mongoose$1.Types.ObjectId;
}> & {
  __v: number;
}), any, OrganizationSchema>, {}, {}, {}, {}, mongoose$1.DefaultSchemaOptions, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
  id: string;
}, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
  _id: mongoose$1.Types.ObjectId;
} & Required<{
  _id: mongoose$1.Types.ObjectId;
}> & {
  __v: number;
}, "id"> & {
  id: string;
}, {
  createdAt?: mongoose$1.SchemaDefinitionProperty<number, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
  updatedAt?: mongoose$1.SchemaDefinitionProperty<number, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
  name?: mongoose$1.SchemaDefinitionProperty<string, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
  creatorId?: User["id"];
  membersIds?: any;
  adminsIds?: any;
  ssoEnabled?: mongoose$1.SchemaDefinitionProperty<boolean, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
  domain?: mongoose$1.SchemaDefinitionProperty<string, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
  plan?: mongoose$1.SchemaDefinitionProperty<Plan, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
  _id?: mongoose$1.SchemaDefinitionProperty<mongoose$1.Types.ObjectId, OrganizationSchema, mongoose$1.Document<unknown, {}, OrganizationSchema, {
    id: string;
  }, mongoose$1.DefaultSchemaOptions> & Omit<Omit<Organization, "id"> & {
    _id: mongoose$1.Types.ObjectId;
  } & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  }, "id"> & {
    id: string;
  }>;
}, OrganizationSchema>;
//#endregion
export { organizationSchema };
//# sourceMappingURL=organization.schema.d.ts.map