import { type CommittedEventMetadata, type Message, type Messages, type Snapshot, type State } from "../types"; /** * Validates and handles command message * @param command the command message * @param metadata the optional metadata of the event that triggered this command * @returns last snapshot */ export default function command(command: Message, metadata?: CommittedEventMetadata, skipValidation?: boolean): Promise | undefined>; //# sourceMappingURL=command.d.ts.map