import type { Prisma } from '../../../prisma/client';
type FormUser = {
    username: string | null;
    metadata: Prisma.JsonValue;
    movedToProfileId: number | null;
    profile: {
        organization: {
            slug: string | null;
            requestedSlug: string | null;
        } | null;
    };
    id: number;
};
type FormTeam = {
    parent: {
        slug: string | null;
    } | null;
} | null;
export declare function isAuthorizedToViewFormOnOrgDomain({ user, currentOrgDomain, team, }: {
    user: FormUser;
    currentOrgDomain: string | null;
    team?: FormTeam;
}): boolean;
export {};
//# sourceMappingURL=isAuthorizedToViewForm.d.ts.map