import { OSV } from "../formats/osv";
export declare const ROOT_API = "https://api.osv.dev";
export type OSVApiParameter = {
    version?: string;
    package: {
        name: string;
        /**
         * @default npm
         */
        ecosystem?: string;
    };
};
export declare function findOne(parameters: OSVApiParameter): Promise<OSV[]>;
export declare function findOneBySpec(spec: string): Promise<OSV[]>;
export declare function findMany<T extends string = string>(specs: T[]): Promise<Record<T, OSV[]>>;
