import { ClassType } from '@tngraphql/graphql'; /** * (c) Phan Trung Nguyên * User: nguyenpl117 * Date: 3/19/2020 * Time: 11:18 AM * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare type Message = T | ((context?: any, args?: any) => T); export declare function ValidateArgs(type: ClassType | { [key: string]: string | string[] | object; }, messages?: Message<{ [key: string]: string; }>): MethodDecorator; export {};