import * as H from 'history';
import * as React from 'react';
import * as GQL from '../../backend/graphqlschema';
import { SavedQueryFields } from './SavedQueryForm';
interface Props {
    user: GQL.IUser | null;
    location: H.Location;
    isLightTheme: boolean;
    hideExampleSearches?: boolean;
}
interface State {
    savedQueries: GQL.ISavedQuery[];
    /**
     * Whether the saved query creation form is visible.
     */
    isCreating: boolean;
    loading: boolean;
    error?: Error;
    user: GQL.IUser | null;
    isViewingExamples: boolean;
    exampleQuery: Partial<SavedQueryFields> | null;
    disableBuiltInSearches: boolean;
}
export declare class SavedQueries extends React.Component<Props, State> {
    state: State;
    private componentUpdates;
    private subscriptions;
    componentDidMount(): void;
    componentWillReceiveProps(newProps: Props): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private toggleCreating;
    private toggleExamples;
    private onExampleSelected;
    private onDidCreateSavedQuery;
    private onDidDuplicateSavedQuery;
    private onDidClickQueryHelp;
}
export declare class SavedQueriesPage extends SavedQueries {
    componentDidMount(): void;
}
export {};
//# sourceMappingURL=SavedQueries.d.ts.map