import { InfiniteQueryObserverOptions, MutationKey, InfiniteData } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { MessageType, MutateMessageProps, MessagesResultType, MessageMutationContextType } from '../types/messages.types';
export declare function getMessagesOptions(weavy: WeavyType, appId: number | null, options?: object): InfiniteQueryObserverOptions<MessagesResultType, Error, InfiniteData<MessagesResultType>>;
export declare function getAddMessageMutationOptions(weavy: WeavyType, mutationKey: MutationKey): {
    mutationFn: (variables: MutateMessageProps) => Promise<any>;
    mutationKey: MutationKey;
    onMutate: (variables: MutateMessageProps) => Promise<MessageMutationContextType>;
    onSuccess: (data: MessageType, variables: MutateMessageProps, context: MessageMutationContextType) => void;
};
//# sourceMappingURL=messages.d.ts.map