import type { OptionallyStatefulCommandComponentDiscovery } from "./BaseEntityDiscovery.ts";
import { MakeEntity } from './utils';

export type TextDiscovery = MakeEntity<TextComponentDiscovery>;
export interface TextComponentDiscovery extends OptionallyStatefulCommandComponentDiscovery {
    platform: 'text';
    max?: number;
    min?: number;
    mode?: 'text' | 'password';
    pattern?: string;
}