import { Organization, OrganizationMembership, User } from "@clerk/remix/api.server";
import { EnvironmentDto, FullProjectDto, SubscriptionDto } from "@montelo/browser-client";
import Stripe from "stripe";

export type AppLayoutLoader = {
  environment: EnvironmentDto;
  project: FullProjectDto;
  allProjects: FullProjectDto[];
  org?: Organization;
  user: User;
  orgMemberships: OrganizationMembership[];
  stripePublishableKey: string;
  pricingTableId: string;
  subscription: SubscriptionDto;
  customerSession: Stripe.CustomerSession;
};
