/** * Copyright 2023 Kapeta Inc. * SPDX-License-Identifier: BUSL-1.1 */ declare module 'recursive-watch' { export default function watch(path: string, callback: (filename: string) => void): () => void; } declare module 'parse-data-uri' { export default function parseDataUri(uri: string): { data: Buffer; mediaType: string }; } declare module '@kapeta/nodejs-registry-utils' { import { Dependency, Kind } from '@kapeta/schemas'; export interface AssetVersion { content: Kind; dependencies: Dependency[]; version: string; } export class RegistryService { constructor(url: string); getVersion(fullName: string, version: string): Promise; getLatestVersion(name): Promise; } export const Config: any; export const Actions: any; export const handlers: { DockerHandler: ArtifactHandlerFactory; NPMHandler: ArtifactHandlerFactory; MavenHandler: ArtifactHandlerFactory; YAMLHandler: ArtifactHandlerFactory; }; } declare module 'download-git-repo' { function download( url: string, dest: string, opts?: RequestOptions & { clone?: boolean }, callback?: RequestCallback ): void; export = download; }