import { GetProjectMessagesResponseBody } from '@imagine/ai-service/shared-types/route-types'; type UseProjectMessagesOptions = { limit?: number; afterMessageId?: string; enabled?: boolean; }; type FetchProjectMessagesOptions = { projectId: string; limit?: number; offset?: number; afterMessageId?: string; }; export declare function fetchProjectMessages({ projectId, limit, offset, afterMessageId, }: FetchProjectMessagesOptions): Promise; interface FetchProjectMessagesAfterOptions { projectId: string; afterMessageId: string; limit?: number; offset?: number; } export declare function fetchProjectMessagesAfter({ projectId, afterMessageId, limit, offset, }: FetchProjectMessagesAfterOptions): Promise; export declare function useProjectMessages({ limit, afterMessageId, enabled, }?: UseProjectMessagesOptions): { messages: import('@imagine/ai-service/shared-types').ImagineUIMessage[]; pages: GetProjectMessagesResponseBody[]; pagination: { total: number; count: number; limit: number; offset: number; hasMore: boolean; nextOffset: number | null; afterMessageId: string | null; } | undefined; total: number; fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise, Error>>; hasNextPage: boolean; hasMore: boolean; isFetchingNextPage: boolean; refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise, Error>>; isLoading: boolean; isError: boolean; error: Error | null; status: "error" | "pending" | "success"; isFinished: boolean; }; export {}; //# sourceMappingURL=use-project-messages.d.ts.map