import { QueryStreamController } from '~/core/liveCollection/QueryStreamController';
import { EnumJoinRequestAction } from './enum';
export declare class JoinRequestsQueryStreamController extends QueryStreamController<Amity.CommunityJoinRequestPayload, Amity.JoinRequestLiveCollection> {
    private notifyChange;
    private preparePayload;
    constructor(query: Amity.JoinRequestLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void, preparePayload: (response: Amity.CommunityJoinRequestPayload) => Amity.ProcessedJoinRequestPayload);
    saveToMainDB(response: Amity.CommunityJoinRequestPayload): Promise<void>;
    appendToQueryStream(response: Amity.CommunityJoinRequestPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
    reactor(action: EnumJoinRequestAction): (joinRequest: Amity.InternalJoinRequest[]) => void;
    subscribeRTE(createSubscriber: {
        fn: (reactor: Amity.Listener<Amity.InternalJoinRequest[]>) => Amity.Unsubscriber;
        action: EnumJoinRequestAction;
    }[]): Amity.Unsubscriber[];
}
//# sourceMappingURL=JoinRequestsQueryStreamController.d.ts.map