import type { TrpcSessionUser } from "../../../types";
import type { TListMembersSchema } from "./listMembers.schema";
type GetOptions = {
    ctx: {
        user: NonNullable<TrpcSessionUser>;
    };
    input: TListMembersSchema;
};
export declare const listMembersHandler: ({ ctx, input }: GetOptions) => Promise<{
    canUserGetMembers: boolean;
    rows: never[];
    meta: {
        totalRowCount: number;
    };
} | {
    rows: {
        id: number;
        username: string | null;
        email: string;
        timeZone: string;
        role: import('../../../../../prisma-client').$Enums.MembershipRole;
        accepted: boolean;
        disableImpersonation: boolean;
        completedOnboarding: boolean;
        lastActiveAt: string | null;
        avatarUrl: string | null;
        teams: {
            id: number;
            name: string;
            slug: string | null;
        }[];
        attributes: {
            weight: number;
            id: string;
            slug: string;
            value: string;
            attributeId: string;
            isGroup: boolean;
            contains: string[];
        }[] | undefined;
    }[];
    meta: {
        totalRowCount: number;
    };
    canUserGetMembers?: undefined;
}>;
export default listMembersHandler;
//# sourceMappingURL=listMembers.handler.d.ts.map