import {type GenericActionDefinition, type NamedActionDefinition} from '../types';
import {type AdminAction} from '../data';
type DefineAction = {
(input: NamedActionDefinition): NamedActionDefinition;
(input: D): D;
};
// @ts-expect-error todo
export const defineAction: DefineAction = (input) => input;