import type { MemberPermissionKey } from "@fluid-app/portal-core/account-types";
export interface MemberTypeInfo {
    /** Real per-company member-type slug (rep/customer/affiliate/...), or null while loading. */
    slug: string | null;
    /** Admin-facing display label (e.g. "Affiliate"), or null when unknown. */
    name: string | null;
    /** Whether the member may access rep-only surfaces (rep_eligible). */
    canAccessRepSurfaces: boolean;
    /** Predicate for any member-type permission key. */
    can: (key: MemberPermissionKey) => boolean;
    /** True until the account query resolves. */
    isLoading: boolean;
}
/**
 * Resolve the current member's type identity and capabilities.
 *
 * The single hook UI should use to display the member type (name/slug) and
 * to gate behavior on permissions, instead of comparing the binary
 * `member_type` string. Backed by the same cached `useAccount()` query.
 */
export declare function useMemberType(): MemberTypeInfo;
//# sourceMappingURL=use-member-type.d.ts.map