import { ExtractItem, ItemRenderer, Page } from './types'; import { PropertyDeclarations, TemplateResult } from 'lit-element'; import { NucleonElement } from '../NucleonElement/NucleonElement'; declare const Base: typeof NucleonElement & import("lit-element").Constructor & { defaultNS: string; } & import("lit-element").Constructor; /** * Renders an element for each resource in a collection page. * * @element foxy-collection-page * @since 1.1.0 */ export declare class CollectionPage extends Base { /** @readonly */ static get properties(): PropertyDeclarations; /** Spread directive argument from `@open-wc/lit-helpers` (properties, event listeners and attributes you'd like to pass to the item element). */ props: Record; private __pageFetchEventHandler; private __renderItem; private __item; constructor(); /** * Custom element tag or a render function to use for displaying collection items. * Generated custom elements will have the following attributes: * * - `parent` – same as `foxy-collection-page[href]`; * - `group` - same as `foxy-collection-page[group]`; * - `href` – collection page item's `_links.self.href` value; * - `lang` – same as `foxy-collection-page[lang]`; * * Render function will receive `ItemRendererContext` in the first argument. */ get item(): null | string | ItemRenderer>; set item(value: null | string | ItemRenderer>); /** @readonly */ createRenderRoot(): HTMLElement; /** @readonly */ connectedCallback(): void; /** @readonly */ render(): TemplateResult; /** @readonly */ disconnectedCallback(): void; private get __items(); private __handlePageFetchEvent; private __stallRequest; private __failRequest; } export * from './types';