declare global { interface PluginRegistry { MyPago?: MyPago; } } export interface MyPago { echo(options: { value: string; }): Promise<{ value: string; }>; }