import { RenderTitleHandler, RenderToolbarHandler, TextWidgetRenderToolbarHandler } from '../../types';
type AnyFunction = (...args: any[]) => any;
export declare function combineHandlers<Handler extends AnyFunction>(handlers: (Handler | undefined)[], chainHandlers?: boolean): Handler;
/**
 * Compose multiple RenderToolbarHandler functions into one.
 * Each handler gets a chance to modify the toolbar.
 * If it returns `null`, the previous toolbar is passed to the next handler.
 */
export declare function composeToolbarHandlers(...handlers: (RenderToolbarHandler | undefined)[]): RenderToolbarHandler;
/**
 * Compose multiple TextWidgetRenderToolbarHandler functions into one.
 * Each handler gets a chance to modify the toolbar.
 * If it returns `null`, the previous toolbar is passed to the next handler.
 */
export declare function composeTextWidgetToolbarHandlers(...handlers: (TextWidgetRenderToolbarHandler | undefined)[]): TextWidgetRenderToolbarHandler;
/**
 * Compose multiple RenderTitleHandler functions into one.
 * Each handler gets a chance to modify the title.
 * If it returns `null`, the previous tile is passed to the next handler.
 */
export declare function composeTitleHandlers(...handlers: (RenderTitleHandler | undefined)[]): RenderTitleHandler;
export {};
