15 lines
541 B
TypeScript
15 lines
541 B
TypeScript
import type yargs from 'yargs-parser';
|
|
import { type LogOptions } from '../../core/logger/core.js';
|
|
interface AddOptions {
|
|
logging: LogOptions;
|
|
flags: yargs.Arguments;
|
|
}
|
|
interface IntegrationInfo {
|
|
id: string;
|
|
packageName: string;
|
|
dependencies: [name: string, version: string][];
|
|
type: 'integration' | 'adapter';
|
|
}
|
|
export declare function add(names: string[], { flags, logging }: AddOptions): Promise<void>;
|
|
export declare function validateIntegrations(integrations: string[]): Promise<IntegrationInfo[]>;
|
|
export {};
|