import { InfiniteQueryObserverOptions, MutationKey, InfiniteData } from '@tanstack/query-core'; import { WeavyType } from '../client/weavy'; import { CommentType, CommentsResultType, MutateCommentProps } from '../types/comments.types'; export type CommentsQueryKeyType = ["posts" | "files" | "apps", "comments", number | null, number | undefined]; export declare function getCommentsOptions(weavy: WeavyType, type: "posts" | "files" | "apps", parentId: number | null, around?: number, options?: object): InfiniteQueryObserverOptions>; export declare function getUpdateCommentMutationOptions(weavy: WeavyType, mutationKey: MutationKey): { mutationFn: (variables: MutateCommentProps) => Promise; mutationKey: readonly unknown[]; onSuccess: (data: CommentType, variables: MutateCommentProps) => void; }; export declare function getAddCommentMutationOptions(weavy: WeavyType): { mutationFn: (variables: MutateCommentProps) => Promise; onMutate: (variables: MutateCommentProps) => Promise; onSuccess: (comment: CommentType, variables: MutateCommentProps) => void; }; //# sourceMappingURL=comments.d.ts.map