import * as H from 'history';
import * as React from 'react';
import * as GQL from '../../backend/graphqlschema';
interface Props {
    location: H.Location;
    history: H.History;
    /**
     * The current query.
     */
    query: string;
}
interface ISearchScope {
    name?: string;
    value: string;
}
interface State {
    /** All search scopes from configuration */
    configuredScopes?: ISearchScope[];
    /** All fetched search scopes */
    remoteScopes?: ISearchScope[];
    user: GQL.IUser | null;
}
export declare class SearchFilterChips extends React.PureComponent<Props, State> {
    private componentUpdates;
    private subscriptions;
    constructor(props: Props);
    componentDidMount(): void;
    componentWillReceiveProps(newProps: Props): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private getScopes;
    /**
     * Returns contextual scopes for the current route (such as "This Repository" and
     * "This Directory").
     */
    private getScopesForCurrentRoute;
    private onSearchScopeClicked;
}
export {};
//# sourceMappingURL=SearchFilterChips.d.ts.map