import { ListLogsArgs } from '@mastra/core/storage';
export interface LogsFilters {
    filters?: ListLogsArgs['filters'];
}
export declare const useLogs: ({ filters }?: LogsFilters) => {
    data: {
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[] | undefined;
    setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: true;
    isSuccess: false;
    isPlaceholderData: false;
    status: "error";
    fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchNextPageError: boolean;
    isFetchingNextPage: boolean;
    isFetchPreviousPageError: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchStatus: import('@tanstack/react-query').FetchStatus;
    promise: Promise<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[]>;
} | {
    data: {
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[] | undefined;
    setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
    error: null;
    isError: false;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: true;
    isPlaceholderData: false;
    status: "success";
    fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchStatus: import('@tanstack/react-query').FetchStatus;
    promise: Promise<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[]>;
} | {
    data: {
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[] | undefined;
    setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: true;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: false;
    isPlaceholderData: false;
    status: "error";
    fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchStatus: import('@tanstack/react-query').FetchStatus;
    promise: Promise<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[]>;
} | {
    data: {
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[] | undefined;
    setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoading: true;
    isLoadingError: false;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: false;
    isPlaceholderData: false;
    status: "pending";
    fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchStatus: import('@tanstack/react-query').FetchStatus;
    promise: Promise<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[]>;
} | {
    data: {
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[] | undefined;
    setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: false;
    isPlaceholderData: false;
    status: "pending";
    fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isLoading: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchStatus: import('@tanstack/react-query').FetchStatus;
    promise: Promise<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[]>;
} | {
    data: {
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[] | undefined;
    setEndOfListElement: (node: HTMLDivElement | null) => (() => void) | undefined;
    isError: false;
    error: null;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: true;
    isPlaceholderData: true;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    status: "success";
    fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchPreviousPage: (options?: import('@tanstack/react-query').FetchPreviousPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import('@tanstack/react-query').RefetchOptions) => Promise<import('@tanstack/react-query').QueryObserverResult<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[], Error>>;
    fetchStatus: import('@tanstack/react-query').FetchStatus;
    promise: Promise<{
        timestamp: Date;
        level: "error" | "info" | "debug" | "warn" | "fatal";
        message: string;
        source?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        executionSource?: string | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        experimentId?: string | null | undefined;
        logId?: string | null | undefined;
        data?: Record<string, unknown> | null | undefined;
        traceId?: string | null | undefined;
        spanId?: string | null | undefined;
    }[]>;
};
