import { RouteRecordRaw, RouteComponent } from 'vue-router';

type Lazy<T> = () => Promise<T>;
export type CreateResourceFactoryConfig = {
    name: string;
    label?: string;
    listView: RouteComponent | Lazy<RouteComponent>;
    detailView?: RouteComponent | Lazy<RouteComponent>;
    editView?: RouteComponent | Lazy<RouteComponent>;
    createView?: RouteComponent | Lazy<RouteComponent>;
    otherViews?: RouteRecordRaw[];
};
export declare const createResourceFactory: (config: CreateResourceFactoryConfig) => {
    name: string;
    routes: RouteRecordRaw[];
    routePath: {
        list: string;
        edit: (id: any) => string;
        create: string;
        detail: (id: any) => string;
        basePath: string;
    };
};
export {};
