export interface UseTypeItemProps {
    type: string;
    id: string;
    fragment?: string;
    variables?: {
        [key: string]: any;
    };
}
/**
 * This hook returns the item for the given type and id. it use `useQuery` to perform a GraphQL query.
 * It will use the default item operation defined in the registry (OPERATION_GET) for the type and the default fragment unless a custom fragment is provided.
 * The query is expected to return a valid payload of the form `{ item: {} }`.
 */
export declare const useTypeItem: ({ type, id, fragment, ...props }: any) => {
    loading: boolean;
    item: any;
};
export default useTypeItem;
//# sourceMappingURL=useTypeItem.d.ts.map