import { PublicPcfData } from "./pcf"; export declare type ControlledState = "ready" | "loading" | "error"; export interface ControllerAwareProps { controlledState?: ControlledState; } export declare type ControllerConfiguration = { [component: string]: (element: ControllerAwareProps, payload?: TPayload) => void; }; export declare function fetchAndDispatch(config: ControllerConfiguration, root: HTMLElement, loader: Promise): Promise; export declare const PcfControllerConfiguration: ControllerConfiguration;