import { NodeDefinition, NodeLike, StaticGraphNode, StaticNodeDefinition, StaticNodeType } from '../../types/graph'; import { KeyNodeDefinition } from './key'; /** * An instance of the [[isPending]] node. * See the [[isPending]] documentation to find out more. */ export interface IsPendingNode extends StaticGraphNode<'isPending', IsPendingNodeProperties> { } /** * A definition of the [[isPending]] node. * See the [[isPending]] documentation to find out more. */ export interface IsPendingNodeDefinition extends StaticNodeDefinition<'isPending', IsPendingNodeProperties> { } export interface IsPendingNodeProperties { target: KeyNodeDefinition; } /** * The implementation of the [[isPending]] node. * See the [[isPending]] documentation page to learn more. */ export declare const IsPendingNodeType: StaticNodeType<'isPending', IsPendingNodeProperties>; /** * Creates a new instance of a [[isPending]] node, which is a type of a [[NodeDefinition]] used as part of * a [[query]] to check if a given target is loading at a given moment. * See the **Check if deferred part of the query is loading** example from the [[query]] documentation to learn more. */ export declare function isPending(target: KeyNodeDefinition | NodeLike): IsPendingNodeDefinition; export declare function isIsPendingNodeDefinition(value: NodeDefinition): value is IsPendingNodeDefinition;