import { DatePreset, DateRange } from './use-metrics';
type Timestamp = {
    start: Date;
    end: Date;
};
/**
 * Compose a ready-to-use metrics filter object: merges the active date range
 * with the dimensional filter pulled from the provider (sourced from URL +
 * toolbar).
 *
 * Hooks should spread `filters` directly into their backend call — do not pass
 * only `timestamp` or filters set via the toolbar will be silently ignored.
 *
 * Stability guarantees (important for react-query):
 *   - `timestamp` is frozen at the moment the inputs change and does NOT update
 *     on every render. Otherwise each render would mint a new `new Date()` and
 *     every metrics query would re-fetch on every keystroke.
 *   - `filters` and `filterKey` are referentially stable while inputs are
 *     unchanged, so `queryKey` hashing is cheap and caches hit.
 */
export declare function useMetricsFilters(): {
    datePreset: DatePreset;
    customRange: DateRange | undefined;
    timestamp: Timestamp;
    filters: {
        rootEntityType?: import('@mastra/core/storage').EntityType;
        entityName?: string;
        entityId?: string;
        tags?: string[];
        serviceName?: string;
        environment?: string;
        provider?: string;
        model?: string;
        threadId?: string;
        resourceId?: string;
        userId?: string;
        organizationId?: string;
        runId?: string;
        sessionId?: string;
        requestId?: string;
        experimentId?: string;
        timestamp: Timestamp;
    };
    dimensionalFilter: import('.').MetricsDimensionalFilter;
    filterKey: string;
};
export {};
