import { StepLabelProps, StepLabelResult } from '@drincs/pixi-vn';

type StepLabelResultType = StepLabelResult | void;
type StepLabelPropsType<T extends {} = {}> = StepLabelProps & T;
/**
 * StepLabel is a function that will be executed as the game continues.
 */
type StepLabelType<T extends {} = {}> = (props: StepLabelPropsType<T>, info: {
    /**
     * The id of the label.
     */
    labelId: string;
}) => StepLabelResultType | Promise<StepLabelResultType>;

export type { StepLabelPropsType, StepLabelResultType, StepLabelType };
