import { ComposeFunction } from './compose';
export declare const runWith: (props?: RunProps) => <TState>(...functions: ComposeFunction<TState>[]) => Promise<TState>;
declare const _default: <TState>(...functions: ComposeFunction<TState>[]) => Promise<TState>;
export default _default;
export interface RunProps {
    errorFn?: (err: any) => Promise<void> | void;
    showTime?: boolean;
    disableGlobalScope?: boolean;
}
