import { type SlackFunctionType } from "https://deno.land/x/deno_slack_sdk@2.14.2/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>; addBlockSuggestionHandler(actionConstraint: BlockActionConstraint, handler: BlockSuggestionHandler<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