import Resource from "./resource.js";
import Struct from "./struct.js";
export default class Operation {
    readonly name: string;
    readonly resource: Resource;
    readonly input: Struct;
    readonly output: Struct;
    annotations: any[];
    constructor({ resource, name, input, output }: {
        resource: Resource;
        name: string;
        input: Struct;
        output: Struct;
    });
    _addAnnotation<T>(annotation: T, config?: (annotation: T) => void): void;
}
