import { PayloadAction } from "@reduxjs/toolkit";
import { TeamMemberInfo } from "../../api-helpers/types";
import { SupabaseTeam } from "../../supabase-client/supabase-types";
export declare const teamState: import("@reduxjs/toolkit").Slice<{
    data: SupabaseTeam | null;
    members: TeamMemberInfo[];
}, {
    updateTeamDataRaw: (state: import("immer/dist/internal").WritableDraft<{
        data: SupabaseTeam | null;
        members: TeamMemberInfo[];
    }>, action: PayloadAction<SupabaseTeam | null>) => void;
    updateTeamMembersRaw: (state: import("immer/dist/internal").WritableDraft<{
        data: SupabaseTeam | null;
        members: TeamMemberInfo[];
    }>, action: PayloadAction<TeamMemberInfo[]>) => void;
    updateTeamMemberActiveStateRaw: (state: import("immer/dist/internal").WritableDraft<{
        data: SupabaseTeam | null;
        members: TeamMemberInfo[];
    }>, action: PayloadAction<{
        id: string;
        active: boolean;
    }>) => void;
}, "team">;
export declare const updateTeamDataRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    created_at: string | null;
    domain: string | null;
    free_trial_completion_timestamp: string;
    has_onboarded: boolean;
    id: number;
    plan_type: import("../../data/types").PlanType;
    stripe_customer_id: string | null;
    stripe_subscription_id: string | null;
    supports_ai: boolean;
} | null, "team/updateTeamDataRaw">, updateTeamMembersRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<TeamMemberInfo[], "team/updateTeamMembersRaw">, updateTeamMemberActiveStateRaw: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
    id: string;
    active: boolean;
}, "team/updateTeamMemberActiveStateRaw">;
export declare const teamReducer: import("redux").Reducer<{
    data: SupabaseTeam | null;
    members: TeamMemberInfo[];
}>;
//# sourceMappingURL=team.d.ts.map