import { InfiniteQueryObserverOptions, InfiniteData, MutationObserver } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { ConversationMutationContextType, ConversationTypeGuid, ConversationTypeString, ConversationsResultType, ConversationType } from '../types/conversations.types';
export type MutateAddConversationVariables = {
    members: (number | string)[];
    type?: ConversationTypeString;
};
export type AddConversationMutationType = MutationObserver<ConversationType, Error, MutateAddConversationVariables, ConversationMutationContextType>;
export declare function getConversationsOptions(weavy: WeavyType, options?: object, searchText?: () => string | undefined, types?: ConversationTypeGuid[] | null, member?: string): InfiniteQueryObserverOptions<ConversationsResultType, Error, InfiniteData<ConversationsResultType>>;
export declare function getAddConversationMutationOptions(weavy: WeavyType): {
    mutationFn: ({ members, type }: MutateAddConversationVariables) => Promise<any>;
    onMutate: (_variables: MutateAddConversationVariables) => Promise<object>;
};
export declare function getAddConversationMutation(weavy: WeavyType): AddConversationMutationType;
//# sourceMappingURL=conversations.d.ts.map