reiso
Version:
28 lines (27 loc) • 984 B
TypeScript
import * as ApolloReact from 'react-apollo';
import graphqltag from 'graphql-tag';
export declare function GetHtml(): any;
export declare function DeclareHtml(): (target: any, ...args: any[]) => any;
export declare const withRouter: any;
export declare const matchPath: any;
export declare const gql: typeof graphqltag;
export declare type ApolloClient = any;
export declare const graphql: typeof ApolloReact.graphql;
export declare function cleanRoutes(): void;
export declare function route(path: string, render: (data: {
store: any;
children: any;
trans: any;
match: any;
location: any;
history: any;
} & any) => any, order?: number): void;
export declare function Route(path: string, render: (data: {
store: any;
children: any;
trans: any;
match: any;
location: any;
history: any;
} & any) => any, order?: number): (target: any, ...args: any[]) => any;
export declare function GetRoutes(stores: any, language: string): JSX.Element;