import type { FilterSegment as QueryFilterSegment } from '@dynatrace-sdk/client-query'; /** * @public * Provides the currently selected segments and helper functions to programmatically adjust the selection. * * @returns an object containing: * * segments - current selection of segments * * addSegment - function to add a segment to the selection * * removeSegment - function to remove a segment from the selection * * removeAllSegments - function to clear the selection * * setSegments - function to overwrite the current selection with a new one. If called with force=true, validation and permission checks are skipped */ export declare const useSegments: () => { segments: QueryFilterSegment[]; addSegment: (segment: QueryFilterSegment) => Promise; removeSegment: (id?: string | null) => void; removeAllSegments: () => void; setSegments: (segments: QueryFilterSegment[], force?: boolean) => Promise; };