import { CreateCommandOptions } from "../steps/types"; import { EventPromised } from "../utils/eventPromised"; /** * The types of events supported by the EventEmitter generated by `EventPromised`. */ declare type EventTypes = "error" | "message" | "subscribe"; declare const _default: (options?: CreateCommandOptions) => EventPromised; /** * The create command, exported to be used programatically. * * @param options - The options of the create command. Defined by {@link * CreateCommandOptions}. * * @returns An instance of {@link EventPromised}, which is a promise that can * also send events using an EventEmitter. */ export default _default;