import { ArrayTransform } from '@synnaxlabs/x';

export interface ArrayTransformEntry<E> {
    transform: ArrayTransform<E>;
    key: string;
    priority: number;
}
export interface UseTransformsProps<E> {
    transforms?: Array<ArrayTransformEntry<E>>;
}
export interface UseTransformsReturn<E> {
    transform: ArrayTransform<E>;
    setTransform: (key: string, t: ArrayTransform<E>, priority?: number) => void;
    deleteTransform: (key: string) => void;
}
export declare const useTransforms: <E>({ transforms: initialTransforms, }: UseTransformsProps<E>) => UseTransformsReturn<E>;
//# sourceMappingURL=useTransforms.d.ts.map