1 | import * as React from 'react';
|
2 | import { OperationVariables } from '../../core';
|
3 | import { IDocumentDefinition } from '../parser';
|
4 | export declare const defaultMapPropsToOptions: () => {};
|
5 | export declare const defaultMapResultToProps: <P>(props: P) => P;
|
6 | export declare const defaultMapPropsToSkip: () => boolean;
|
7 | export declare function getDisplayName<P>(WrappedComponent: React.ComponentType<P>): string;
|
8 | export declare function calculateVariablesFromProps<TProps>(operation: IDocumentDefinition, props: TProps): OperationVariables;
|
9 | export type RefSetter<TChildProps> = (ref: React.ComponentClass<TChildProps>) => void | void;
|
10 | export declare class GraphQLBase<TProps, TChildProps, TState = any> extends React.Component<TProps, TState> {
|
11 | withRef: boolean;
|
12 | private wrappedInstance?;
|
13 | constructor(props: TProps);
|
14 | getWrappedInstance(): React.ComponentClass<TChildProps, any> | undefined;
|
15 | setWrappedInstance(ref: React.ComponentClass<TChildProps>): void;
|
16 | }
|
17 | //# sourceMappingURL=hoc-utils.d.ts.map |
\ | No newline at end of file |