@becomes/cms-bundler
Version:
Bundler package for the BCMS
12 lines (11 loc) • 447 B
TypeScript
import { ObjectSchema } from '../interfaces';
export interface GeneralPrototype {
object: {
compareWithSchema(object: any, schema: ObjectSchema, level?: string): void;
};
string: {
getTextBetween(src: string, begin: string, end: string): string;
};
exec(cmd: string, output: (type: 'stdout' | 'stderr', chunk: string) => void, timeout?: number): Promise<void>;
}
export declare const General: GeneralPrototype;