import { InfiniteQueryObserverOptions, MutationKey, InfiniteData } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { MessageType, MutateMessageProps, MessagesResultType } 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<import('../types/msg.types').MsgType>;
    mutationKey: readonly unknown[];
    onMutate: (variables: MutateMessageProps) => void;
    onSuccess: (data: MessageType) => void;
};
//# sourceMappingURL=messages.d.ts.map