import type { DataViewFilter, DataViewFilterClause, DataViewFilterScope, DataViewFilterSet } from './types';
export interface ResolvedDataViewFilters {
    user: DataViewFilterSet;
    locked: DataViewFilterSet;
    effective: DataViewFilterClause[];
    lockedChips: NonNullable<DataViewFilterScope['lockedChips']>;
}
export interface ResolveDataViewFiltersInput {
    filters?: readonly DataViewFilter[];
    scope?: DataViewFilterScope;
    user?: DataViewFilterSet;
}
export declare function resolveDataViewFilters({ filters, scope, user, }: ResolveDataViewFiltersInput): ResolvedDataViewFilters;
export declare function sanitizeDataViewFilterSet(filters: DataViewFilterSet): DataViewFilterSet;
export declare function filterSetToClauses(filters: DataViewFilterSet, filterByKey: ReadonlyMap<string, DataViewFilter>): DataViewFilterClause[];
export declare function pruneDataViewFilterClauses(userClauses: readonly DataViewFilterClause[], lockedClauses: readonly DataViewFilterClause[]): DataViewFilterClause[];
export declare function pruneDataViewFilterSet(userFilters: DataViewFilterSet, filterByKey: ReadonlyMap<string, DataViewFilter>, lockedClauses: readonly DataViewFilterClause[]): DataViewFilterSet;
