import { TFunction } from 'i18next';
import { PrismaClient } from '../../../../prisma';
interface UserWithBillingAccess {
    id: number;
    name: string | null;
    email: string;
    t: TFunction;
}
interface TeamWithBillingAdmins {
    id: number;
    name: string;
    adminAndOwners: UserWithBillingAccess[];
}
interface GetUserAndTeamResult {
    user?: UserWithBillingAccess;
    team?: TeamWithBillingAdmins;
}
export declare function getUserAndTeamWithBillingPermission({ userId, teamId, prismaClient, }: {
    userId?: number | null;
    teamId?: number | null;
    prismaClient: PrismaClient;
}): Promise<GetUserAndTeamResult>;
export {};
//# sourceMappingURL=getUserAndTeamWithBillingPermission.d.ts.map