import { PiralPlugin } from 'piral-core'; import { PiletUpdateApi, ListenCallback } from './types'; export interface UpdateConfig { /** * Sets the connector for listening to retrieve update notifications. * By default a periodic check every 5 minute is used. */ listen?: ListenCallback; } /** * Creates new Pilet API extensions for updates of pilets. */ export declare function createUpdateApi(config?: UpdateConfig): PiralPlugin;