import { type ComponentMetaState } from '../../types'; import type { Identifier, MethodDefinition, PropertyDefinition } from 'estree'; export type ApiMethodDefinition = MethodDefinition & { key: Identifier; }; export type ApiPropertyDefinition = PropertyDefinition & { key: Identifier; }; export type ApiDefinition = ApiPropertyDefinition | ApiMethodDefinition; export declare function validateApiProperty(node: ApiPropertyDefinition, state: ComponentMetaState): void; export declare function validateApiMethod(node: ApiMethodDefinition, state: ComponentMetaState): void; //# sourceMappingURL=validate.d.ts.map