/// import { PaginationData, SearchParams, SolrCore, SolrMoreLikeThis, SolrGet, SolrQuery, SolrTransitions } from './DataStore'; import * as React from 'react'; declare type RenderLambda = (v: T | T[], p?: PaginationData) => JSX.Element; declare function databind(event: Function, ds: SolrCore, render: RenderLambda, transition?: (sp: SearchParams) => Boolean): () => JSX.Element; interface DataBoundProps { autoload?: SearchParams; event: Function; dataStore: SolrGet & SolrMoreLikeThis & SolrQuery & SolrTransitions; render: RenderLambda; transition?: (params: SearchParams) => Boolean; } interface DataBoundState { data?: T | T[]; paging?: PaginationData; } declare class Bound extends React.Component, DataBoundState> { static childContextTypes: { transition: React.Requireable; searchState: React.Requireable; }; static contextTypes: { router: React.Requireable; }; constructor(props: DataBoundProps); transition(args: SearchParams): void; componentDidMount(): void; getChildContext(): { searchState: SearchParams; transition: any; }; render(): JSX.Element; } declare class DataBind extends React.Component<{}, {}> { render(): JSX.Element; } export { RenderLambda, DataBoundProps, DataBoundState, DataBind, Bound, databind };