import { ASTNode } from "../../ast_node"; import { ParameterList } from "../meta/parameter_list"; import { StructuredDocumentation } from "../meta/structured_documentation"; import { ContractDefinition } from "./contract_definition"; export declare class EventDefinition extends ASTNode { /** * The hash of the signature of the event is one of the topics * except if you set `anonymous`. */ anonymous: boolean; /** * The name of the event */ name: string; /** * The source range for name string */ nameLocation?: string; /** * Optional documentation appearing above the event definition: * - Is `undefined` when not specified. * - Is type of `string` when specified and compiler version is older than `0.6.3`. * - Is instance of `StructuredDocumentation` when specified and compiler version is `0.6.3` or newer. */ documentation?: string | StructuredDocumentation; /** * A list of values that is passed on to the EVM logging facility */ vParameters: ParameterList; constructor(id: number, src: string, anonymous: boolean, name: string, parameters: ParameterList, documentation?: string | StructuredDocumentation, nameLocation?: string, raw?: any); get children(): readonly ASTNode[]; /** * Reference to its scoped contract */ get vScope(): ContractDefinition; } //# sourceMappingURL=event_definition.d.ts.map