import type { CreateSessionRequest, UpdateSessionRequest, Session, SessionsPage } from '../types/api';
export declare const sessionsQueryKey: readonly ["sessions", "list"];
export declare function useSessionsInfinite(): import("@tanstack/react-query").UseInfiniteQueryResult<import("@tanstack/query-core").InfiniteData<SessionsPage, unknown>, Error>;
export declare function useSessions(): {
    data: Session[];
    isLoading: boolean;
    isError: boolean;
    error: Error;
    hasNextPage: boolean;
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<import("@tanstack/query-core").InfiniteData<SessionsPage, unknown>, Error>>;
    isFetchingNextPage: boolean;
};
export declare function useSession(sessionId: string): Session;
export declare function useCreateSession(): import("@tanstack/react-query").UseMutationResult<Session, Error, CreateSessionRequest, unknown>;
export declare function useUpdateSession(sessionId: string): import("@tanstack/react-query").UseMutationResult<Session, Error, UpdateSessionRequest, unknown>;
export declare function useDeleteSession(): import("@tanstack/react-query").UseMutationResult<{
    success: boolean;
}, Error, string, unknown>;
//# sourceMappingURL=useSessions.d.ts.map