/// <reference types="react" />
import { Context as NetContext } from '@irim/saber/types/interfaces';
export declare type Method = NetContext['method'];
export declare type Request = NetContext & {
    url: string;
    params?: any;
    /** 请求参数格式化 */
    formatter?: (data: any) => any;
};
declare type TreeNodeKey = string | number | null;
export interface ComposeProps {
    activeKey: TreeNodeKey;
    treePaths: TreeNodeKey[];
    params: any;
}
export declare type RouterConfig = Array<{
    path: string;
    isTree?: boolean;
    Com: React.ComponentType | React.LazyExoticComponent<React.ComponentType>;
}>;
export {};
