;
}
export declare type ChildProps = P & {
data?: QueryProps & Partial;
mutate?: MutationFunc;
};
export declare type NamedProps = P & {
ownProps: R;
};
export declare type OperationVariables = {
[key: string]: any;
};
export interface OperationOption {
options?: QueryOpts | MutationOpts | ((props: TProps) => QueryOpts | MutationOpts);
props?: (props: OptionProps) => any;
skip?: boolean | ((props: any) => boolean);
name?: string;
withRef?: boolean;
shouldResubscribe?: (props: TProps, nextProps: TProps) => boolean;
alias?: string;
}
export declare type CompositeComponent = ComponentClass
| StatelessComponent
;
export interface ComponentDecorator {
(component: CompositeComponent): ComponentClass;
}
export interface InferableComponentDecorator {
>(component: T): T;
}