import type { TUser, TSession, TProfile, TOrganization, TOrganizationmember, TOrganizationPlan } from '@cio/db/types'; type AccountOrganization = TOrganization & { member: TOrganizationmember | null; plan: | (Pick & { customerId: string }) | null; }; // src/app.d.ts declare global { namespace App { interface Locals { user: TUser | null; session: TSession | null; profile: TProfile | null; organizations: AccountOrganization[]; fromSessions?: boolean; // getAccount: () => } // interface PageData {} // interface Error {} // interface Platform {} } } export {};