import * as React from "react";
import { IntrospectionQuery } from "graphql-birdseye-core/src/graphql/utilities/introspectionQuery";
import { GraphQLSchema } from "graphql-birdseye-core/src/graphql/type";
import {
  Theme,
  BirdseyeDataStructure as Birdseye,
} from "graphql-birdseye-core";
export interface GraphqlBirdseyeProps {
  dataStructure: Birdseye | null;
  theme?: Theme;
  style?: any;
}
export interface State {
  activeType: string;
  loading: boolean;
}
export interface SchemaProviderProps {
  introspectionQuery?: IntrospectionQuery;
  schema?: GraphQLSchema;
}
declare const _default: {
  new (props: Readonly<GraphqlBirdseyeProps & SchemaProviderProps>): {
    render(): JSX.Element;
    context: any;
    setState<K extends never>(
      state:
        | {}
        | ((
            prevState: Readonly<{}>,
            props: Readonly<GraphqlBirdseyeProps & SchemaProviderProps>
          ) => {} | Pick<{}, K> | null)
        | Pick<{}, K>
        | null,
      callback?: (() => void) | undefined
    ): void;
    forceUpdate(callback?: (() => void) | undefined): void;
    readonly props: Readonly<GraphqlBirdseyeProps & SchemaProviderProps> &
      Readonly<{
        children?: React.ReactNode;
      }>;
    state: Readonly<{}>;
    refs: {
      [key: string]: React.ReactInstance;
    };
  };
  new (props: GraphqlBirdseyeProps & SchemaProviderProps, context?: any): {
    render(): JSX.Element;
    context: any;
    setState<K extends never>(
      state:
        | {}
        | ((
            prevState: Readonly<{}>,
            props: Readonly<GraphqlBirdseyeProps & SchemaProviderProps>
          ) => {} | Pick<{}, K> | null)
        | Pick<{}, K>
        | null,
      callback?: (() => void) | undefined
    ): void;
    forceUpdate(callback?: (() => void) | undefined): void;
    readonly props: Readonly<GraphqlBirdseyeProps & SchemaProviderProps> &
      Readonly<{
        children?: React.ReactNode;
      }>;
    state: Readonly<{}>;
    refs: {
      [key: string]: React.ReactInstance;
    };
  };
  contextType?: React.Context<any> | undefined;
};
export default _default;
