import { ListCommand, ListCommandOptions } from './list-command.js'; import { CrudCommand, CrudCommandOptions, CrudCreateUpdateOptions } from './crud-command.js'; import { Command } from 'commander'; import { CommandOption, MergeConfiguration } from '../types.js'; export type DatasetListCommandOptions = ListCommandOptions; export type DatasetCrudCommandOptions = CrudCommandOptions; export type DatasetCreateUpdateOptions = CrudCreateUpdateOptions; export interface DatasetTableConfigOptions extends DatasetCrudCommandOptions { table: string; } /** * Dataset list command implementation using the new architecture */ export declare class DatasetListCommand extends ListCommand { getCommandName(): string; getCommandDescription(): string; getCommandOptions(): CommandOption[]; executeList(options: DatasetListCommandOptions): Promise; } /** * Dataset CRUD command implementation using the new architecture */ export declare class DatasetCrudCommand extends CrudCommand { getCommandPrefix(): string; getResourceName(): string; protected supportsGet(): boolean; protected supportsCreate(): boolean; protected supportsUpdate(): boolean; protected supportsDelete(): boolean; /** * Registers the CRUD commands plus dataset:table-config, which shows what a dataset table indexes. */ addToProgram(program: Command, mergeConfiguration: MergeConfiguration): void; executeTableConfig(datasetId: string, options: DatasetTableConfigOptions): Promise; executeGet(datasetId: string, options: DatasetCrudCommandOptions): Promise; executeCreate(options: CrudCreateUpdateOptions): Promise; executeUpdate(datasetId: string, options: CrudCreateUpdateOptions): Promise; executeDelete(datasetId: string, options: DatasetCrudCommandOptions): Promise; } //# sourceMappingURL=dataset-command.d.ts.map