import { BetterAuthSession, BetterAuthOrganization, CustomerScope } from '../types.js';

/** Resolve customer identity based on customerScope */
declare const resolveIdentityFromScope: ({ session, organization, customerScope, }: {
    session: BetterAuthSession | null;
    organization: BetterAuthOrganization | null;
    customerScope: CustomerScope;
}) => {
    customerId: string;
    customerData: {
        name: string;
    };
} | {
    customerId: string;
    customerData: {
        name: string | undefined;
        email: string | undefined;
    };
} | null;

export { resolveIdentityFromScope };
