import type { InteractionHandlerDeps, ParsedBlockActionsPayload } from "#public/channels/slack/interactions.js"; /** Retires an answered `card` in place: same single block, buttons replaced by the answer. */ export declare function answeredBlocksFromActionBlock(input: { readonly answerLabel: string; readonly block: unknown; readonly userId: string; }): unknown[] | undefined; export declare function updateAnsweredHitlCard(interaction: ParsedBlockActionsPayload, deps: InteractionHandlerDeps): Promise; export declare function updateAnsweredFreeformCard(input: { readonly channelId: string; readonly messageTs: string; readonly answerLabel: string; readonly userId?: string; readonly installationTeamId?: string; readonly deps: InteractionHandlerDeps; }): Promise;