import { type SlackFunctionType } from "https://deno.land/x/deno_slack_sdk@1.2.0/functions/types.ts";
definition: Definition extends FunctionDefinitionArgs<infer I, infer O, infer RI, infer RO> ? (EnrichedSlackFunctionHandler<Definition> & { addBlockActionsHandler(actionConstraint: BlockActionConstraint, handler: BlockActionHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; addViewClosedHandler(viewConstraint: BasicConstraintField, handler: ViewClosedHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; addViewSubmissionHandler(viewConstraint: BasicConstraintField, handler: ViewSubmissionHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; addUnhandledEventHandler(handler: UnhandledEventHandler<FunctionDefinitionArgs<I, O, RI, RO>>): SlackFunctionType<Definition>; }) : never