import { HandlerType } from "../../mvc/interfaces/HandlerType";
import { PlatformContext } from "../domain/PlatformContext";
export declare type PlatformCtxHandler = ($ctx: PlatformContext) => any | Promise<any>;
/**
 * Create Ts.ED context handler
 * @param fn
 * @ignore
 */
export declare function useCtxHandler(fn: PlatformCtxHandler & {
    type?: HandlerType;
}): PlatformCtxHandler & {
    type?: HandlerType | undefined;
};
