import { Thing } from '@pod-os/core'; import { EventEmitter } from '../../stencil-public-runtime'; import { ResourceAware, ResourceEventEmitter } from '../events/ResourceAware'; /** * Renders a link to a resource. The resource is either identified by the given `uri` property, by the resource in * context (given by a surrounding `pos-resource` element), or by following a relation from or to the resource in * context (`rel` / `rev` attributes). * * By default, it renders a label and description of the resource. You can override this by providing custom content as * child elements. * * **Important:** This component will fire a `pod-os:link` event when clicked instead of doing a normal browser navigation. * To actually navigate to the link target, you have to listen to the event and then perform the navigation * programmatically. Other link-related behaviours (like open in a new tab and copy link target) are working normally. * This is to support client-side navigation. */ export declare class PosRichLink implements ResourceAware { /** * Link will use this URI */ uri?: string; /** * Link will be obtained by following the predicate with this URI forward from a resource */ rel?: string; /** * Link will be obtained by following the predicate with this URI in reverse from a resource */ rev?: string; linkEmitter: EventEmitter; subscribeResource: ResourceEventEmitter; errorEmitter: EventEmitter; link?: string; followPredicate: boolean; error: string; host: HTMLElement; private showCustomContent; componentWillLoad(): void; receiveResource: (resource: Thing) => void; render(): any; }