export declare type TRequireOpts = {
    modulesPaths: string[];
    flat?: boolean;
};
export declare type TRequireError = {
    modulePath: string;
    error: any;
};
export declare type TReTryOpts = {
    fn: () => any;
    title?: string;
    defaultValue?: any;
};
export declare type TReTryResult = {
    result: any;
    error?: string;
};
export declare function requiresTrySimport<T>(opts: TRequireOpts): Promise<T[]>;
export declare function reTryCatch({ fn, title, defaultValue }: TReTryOpts): Promise<TReTryResult>;
export declare function getPackageJson(appPath: string): Promise<any>;
