// SPDX-License-Identifier: Apache-2.0
import { DefaultKindClient } from './default-kind-client.js';
export class DefaultKindClientBuilder {
    /**
     * The path to the Kind executable.
     * @private
     */
    _executable;
    constructor() { }
    /**
     * Set the Kind executable path.
     * @param executable The path to the Kind executable.
     * @returns This builder instance for method chaining.
     */
    executable(executable) {
        this._executable = executable;
        return this;
    }
    async build() {
        const client = new DefaultKindClient(this._executable);
        await client.checkVersion();
        return client;
    }
}
//# sourceMappingURL=default-kind-client-builder.js.map