@xiaolaa2/ableton-copilot-mcp
Version:
Ableton Live MCP depend on Ableton JS
33 lines (32 loc) • 762 B
TypeScript
import { z } from 'zod';
/**
* Result class for operation outcomes
*/
export declare class Result {
static ok(): string;
static error(message: string): {
error: string;
};
static data<T>(data: T): {
data: T;
};
}
/**
* Create a Zod schema
* @param props Properties object
* @returns Zod schema
*/
export declare function createZodSchema<T>(props: {
[K in keyof T]?: z.ZodTypeAny;
}): z.ZodObject<{
[x: string]: z.ZodOptional<z.ZodTypeAny>;
}, "strip", z.ZodTypeAny, {
[x: string]: any;
}, {
[x: string]: any;
}>;
/**
* Copy midi-scripts from ableton-js library to Ableton Live's MIDI Remote Scripts folder
*/
export declare function initAbletonJs(): void;
export declare function getLocalDate(): Date;