import * as React from 'react';
import * as GQL from '../../backend/graphqlschema';
interface Props {
    user: GQL.IUser | null;
    savedQuery: GQL.ISavedQuery;
    onDidUpdate?: () => void;
    onDidDuplicate?: () => void;
    onDidDelete?: () => void;
    isLightTheme: boolean;
}
interface State {
    isEditing: boolean;
    isSaving: boolean;
    loading: boolean;
    error?: Error;
    approximateResultCount?: string;
    sparkline?: number[];
    refreshedAt: number;
    redirect: boolean;
}
export declare class SavedQuery extends React.PureComponent<Props, State> {
    state: State;
    private componentUpdates;
    private refreshRequested;
    private duplicateRequested;
    private deleteRequested;
    private subscriptions;
    componentDidMount(): void;
    componentWillReceiveProps(newProps: Props): void;
    componentWillUnmount(): void;
    render(): JSX.Element;
    private toggleEditing;
    private onDidUpdateSavedQuery;
    private duplicate;
    private confirmDelete;
}
export {};
//# sourceMappingURL=SavedQuery.d.ts.map