import { GraphQLArgument, GraphQLField, GraphQLInputField, GraphQLNamedType } from 'graphql'; import { FC } from 'react'; export declare const Search: FC; type TypeMatch = { type: GraphQLNamedType; }; type FieldMatch = { type: GraphQLNamedType; field: GraphQLField | GraphQLInputField; argument?: GraphQLArgument; }; export declare function useSearchResults(): (searchValue: string) => { within: FieldMatch[]; types: TypeMatch[]; fields: FieldMatch[]; }; export {};