import type { Membership, Team } from '../../../prisma-client';
import type { AuthOptions } from "next-auth";
type UserTeams = {
    teams: (Membership & {
        team: Pick<Team, "metadata">;
    })[];
};
export declare const checkIfUserBelongsToActiveTeam: <T extends UserTeams>(user: T) => boolean;
export declare const getOptions: ({ getDubId, }: {
    /** so we can extract the Dub cookie in both pages and app routers */
    getDubId: () => string | undefined;
}) => AuthOptions;
export {};
//# sourceMappingURL=next-auth-options.d.ts.map