import { JSX } from 'react';
import { Agency, AgencyEmployee, Article, Branch, Property } from '../../models';
import { PageConfig as PageConfigInterface, PageName } from '../../state';
import { GlobalConfig as IGlobalConfig } from '../../state';
import { Search } from '../../search';
export type ThemePageProps = {
agency: Agency;
globalConfig: IGlobalConfig;
pageConfig?: PageConfigInterface;
};
/**
* Server-side wrapper that connects to the DB and fetches various data.
*
* Pass children as a function.
*
* @example
* ```tsx
*
* {({ agency, pageConfig, globalConfig }) => }
*
* ```
*/
export default function ThemePage({ pageName, slug, resourceId, theme, resourceModel, children, }: {
pageName: PageName;
slug?: string;
resourceId?: number;
theme: string;
resourceModel?: Property | Article | Branch | AgencyEmployee | Search;
children: (props: ThemePageProps) => JSX.Element;
}): Promise;
//# sourceMappingURL=theme-page.d.ts.map