/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations * * To modify these typings, edit the source file(s): * iron-validator-behavior.js */ import {IronMeta} from '@polymer/iron-meta/iron-meta.js'; export {IronValidatorBehavior}; /** * Use `IronValidatorBehavior` to implement a custom input/form * validator. Element instances implementing this behavior will be registered * for use in elements that implement `IronValidatableBehavior`. */ interface IronValidatorBehavior { ready(): void; /** * Implement custom validation logic in this function. * * @param values The value to validate. May be any type depending on the validation logic. * @returns true if `values` is valid. */ validate(values: object|null): boolean; } declare const IronValidatorBehavior: object;