import { MetaCallJSON } from './deployment';
import { Runner } from './language';
export declare const findFilesPath: (path?: string, ignoreFiles?: string[]) => Promise<string[]>;
export declare const pathIsMetaCallJson: (path: string) => boolean;
export declare const findMetaCallJsons: (files: string[]) => string[];
export declare const findRunners: (files: string[]) => Set<Runner>;
export declare const detectRunners: (path?: string, ignoreFiles?: string[]) => Promise<Runner[]>;
export declare enum PackageError {
    Empty = "No files found in the current folder",
    JsonNotFound = "No metacall.json found in the current folder",
    None = "Package correctly generated"
}
interface PackageDescriptor {
    error: PackageError;
    files: string[];
    jsons: string[];
    runners: Runner[];
}
export declare const generatePackage: (path?: string) => Promise<PackageDescriptor>;
export declare const generateJsonsFromFiles: (files: string[]) => MetaCallJSON[];
export {};
