import type { ColorName } from "../../../../../frontend/src/metabase/lib/colors/types";
import type { IconName } from "../../../../../frontend/src/metabase/ui";
import type Question from "../../../../../frontend/src/metabase-lib/v1/Question";
import type { BaseUser, ModerationReview, User } from "../../../../../frontend/src/metabase-types/api";
export { MODERATION_STATUS } from "./constants";
export declare function verifyItem({ text, itemId, itemType, }: {
    text: string;
    itemId: number;
    itemType: string;
}): Promise<any>;
export declare function removeReview({ itemId, itemType, }: {
    itemId: number;
    itemType: string;
}): Promise<any>;
type NoIcon = Record<string, never>;
export declare const getStatusIcon: (status: string | null | undefined, filled?: boolean) => {
    name: IconName;
    color: ColorName;
} | NoIcon;
export declare function getIconForReview(review: ModerationReview, options?: any): NoIcon | {
    name: "string" | "number" | "function" | "dashboard" | "question" | "clipboard" | "share" | "table" | "line" | "list" | "sort" | "filter" | "info" | "io" | "int" | "key" | "check" | "empty" | "unknown" | "lines" | "section" | "warning" | "return" | "database" | "field" | "metric" | "segment" | "fields" | "sum" | "breakout" | "pulse" | "snippet" | "collection" | "location" | "variable" | "search" | "model" | "external" | "history" | "move" | "person" | "sun" | "download" | "grid" | "revert" | "label" | "ellipsis" | "split" | "link" | "area" | "embed" | "progress" | "alert" | "document" | "group" | "tab" | "copy" | "add" | "add_column" | "add_data" | "add_row" | "add_to_dash" | "ai" | "alert_filled" | "alert_confirm" | "archive" | "attachment" | "arrow_up" | "arrow_down" | "arrow_left" | "arrow_left_to_line" | "arrow_right" | "arrow_split" | "audit" | "badge" | "bar" | "bell" | "birthday" | "bookmark" | "bookmark_filled" | "bolt" | "bolt_filled" | "bubble" | "burger" | "calendar" | "chevrondown" | "chevronleft" | "chevronright" | "chevronup" | "click" | "clock" | "clone" | "close" | "cloud" | "cloud_filled" | "compare" | "combine" | "connections" | "contract" | "curved" | "dash" | "curve" | "dyno" | "edit_document" | "enter_or_return" | "expand" | "expand_arrow" | "extract" | "eye" | "eye_crossed_out" | "eye_outline" | "bug" | "formula" | "funnel" | "funnel_outline" | "folder" | "folder_filled" | "gauge" | "gear" | "gem" | "globe" | "grabber" | "google" | "google_drive" | "google_sheet" | "home" | "horizontal_bar" | "hourglass" | "info_filled" | "info_outline" | "insight" | "join_full_outer" | "join_inner" | "join_left_outer" | "join_right_outer" | "index" | "ldap" | "learn" | "lightbulb" | "lineandbar" | "line_style_dashed" | "line_style_dotted" | "line_style_solid" | "lock" | "lock_filled" | "mail" | "mail_filled" | "model_with_badge" | "moon" | "move_card" | "new_folder" | "notebook" | "palette" | "pause" | "pencil" | "pencil_lines" | "permissions_limited" | "pie" | "pin" | "pinmap" | "pivot_table" | "play" | "play_outlined" | "popover" | "popular" | "recents" | "sankey" | "sql" | "subscription" | "straight" | "stepped" | "sort_arrows" | "sync" | "reference" | "refresh" | "refresh_downstream" | "rocket" | "ruler" | "shield" | "sidebar_closed" | "sidebar_open" | "slack" | "slack_colorized" | "smartscalar" | "sparkles" | "star_filled" | "star" | "store" | "t-shirt" | "table2" | "time_history" | "trash" | "trash_filled" | "triangle_left" | "triangle_right" | "unarchive" | "unpin" | "upload" | "verified" | "official_collection" | "verified_filled" | "view_archive" | "warning_round_filled" | "waterfall" | "webhook" | "10k" | "1m" | "zoom_in" | "zoom_out" | "scalar" | "cake" | "table_spaced" | "beaker" | "eye_filled";
    color: "filter" | "error" | "warning" | "white" | "brand" | "summarize" | "accent0" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent-gray" | "accent-gray-light" | "accent-gray-dark" | "admin-navbar" | "success" | "danger" | "text-dark" | "text-medium" | "text-light" | "text-white" | "bg-black" | "bg-dark" | "bg-medium" | "bg-light" | "bg-white" | "bg-yellow" | "bg-night" | "bg-error" | "shadow" | "border" | "saturated-blue" | "saturated-green" | "saturated-purple" | "saturated-red" | "saturated-yellow";
};
export declare function getRemovedReviewStatusIcon(): {
    name: "string" | "number" | "function" | "dashboard" | "question" | "clipboard" | "share" | "table" | "line" | "list" | "sort" | "filter" | "info" | "io" | "int" | "key" | "check" | "empty" | "unknown" | "lines" | "section" | "warning" | "return" | "database" | "field" | "metric" | "segment" | "fields" | "sum" | "breakout" | "pulse" | "snippet" | "collection" | "location" | "variable" | "search" | "model" | "external" | "history" | "move" | "person" | "sun" | "download" | "grid" | "revert" | "label" | "ellipsis" | "split" | "link" | "area" | "embed" | "progress" | "alert" | "document" | "group" | "tab" | "copy" | "add" | "add_column" | "add_data" | "add_row" | "add_to_dash" | "ai" | "alert_filled" | "alert_confirm" | "archive" | "attachment" | "arrow_up" | "arrow_down" | "arrow_left" | "arrow_left_to_line" | "arrow_right" | "arrow_split" | "audit" | "badge" | "bar" | "bell" | "birthday" | "bookmark" | "bookmark_filled" | "bolt" | "bolt_filled" | "bubble" | "burger" | "calendar" | "chevrondown" | "chevronleft" | "chevronright" | "chevronup" | "click" | "clock" | "clone" | "close" | "cloud" | "cloud_filled" | "compare" | "combine" | "connections" | "contract" | "curved" | "dash" | "curve" | "dyno" | "edit_document" | "enter_or_return" | "expand" | "expand_arrow" | "extract" | "eye" | "eye_crossed_out" | "eye_outline" | "bug" | "formula" | "funnel" | "funnel_outline" | "folder" | "folder_filled" | "gauge" | "gear" | "gem" | "globe" | "grabber" | "google" | "google_drive" | "google_sheet" | "home" | "horizontal_bar" | "hourglass" | "info_filled" | "info_outline" | "insight" | "join_full_outer" | "join_inner" | "join_left_outer" | "join_right_outer" | "index" | "ldap" | "learn" | "lightbulb" | "lineandbar" | "line_style_dashed" | "line_style_dotted" | "line_style_solid" | "lock" | "lock_filled" | "mail" | "mail_filled" | "model_with_badge" | "moon" | "move_card" | "new_folder" | "notebook" | "palette" | "pause" | "pencil" | "pencil_lines" | "permissions_limited" | "pie" | "pin" | "pinmap" | "pivot_table" | "play" | "play_outlined" | "popover" | "popular" | "recents" | "sankey" | "sql" | "subscription" | "straight" | "stepped" | "sort_arrows" | "sync" | "reference" | "refresh" | "refresh_downstream" | "rocket" | "ruler" | "shield" | "sidebar_closed" | "sidebar_open" | "slack" | "slack_colorized" | "smartscalar" | "sparkles" | "star_filled" | "star" | "store" | "t-shirt" | "table2" | "time_history" | "trash" | "trash_filled" | "triangle_left" | "triangle_right" | "unarchive" | "unpin" | "upload" | "verified" | "official_collection" | "verified_filled" | "view_archive" | "warning_round_filled" | "waterfall" | "webhook" | "10k" | "1m" | "zoom_in" | "zoom_out" | "scalar" | "cake" | "table_spaced" | "beaker" | "eye_filled";
    color: "filter" | "error" | "warning" | "white" | "brand" | "summarize" | "accent0" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent-gray" | "accent-gray-light" | "accent-gray-dark" | "admin-navbar" | "success" | "danger" | "text-dark" | "text-medium" | "text-light" | "text-white" | "bg-black" | "bg-dark" | "bg-medium" | "bg-light" | "bg-white" | "bg-yellow" | "bg-night" | "bg-error" | "shadow" | "border" | "saturated-blue" | "saturated-green" | "saturated-purple" | "saturated-red" | "saturated-yellow";
} | undefined;
export declare function getLatestModerationReview(reviews: ModerationReview[]): ModerationReview | undefined;
export declare const getStatusIconForQuestion: (question: Question) => NoIcon | {
    name: IconName;
    color: ColorName;
};
export declare const getTextForReviewBanner: (moderationReview: ModerationReview, moderator: BaseUser | null, currentUser: BaseUser | null) => {
    bannerText: string;
    tooltipText: string;
} | {
    bannerText?: undefined;
    tooltipText?: undefined;
};
export declare const getModeratorDisplayName: (moderator: BaseUser | null, currentUser?: BaseUser | null) => string;
export declare const getModeratorDisplayText: (moderator: BaseUser | null, currentUser: BaseUser | null) => string;
export declare const isRemovedReviewStatus: (status: string | null) => boolean;
export declare const isItemVerified: (review?: ModerationReview | undefined | null) => boolean;
export declare function getModerationTimelineEvents(reviews: ModerationReview[], currentUser?: User): {
    timestamp: string | null;
    icon: {
        name: "string" | "number" | "function" | "dashboard" | "question" | "clipboard" | "share" | "table" | "line" | "list" | "sort" | "filter" | "info" | "io" | "int" | "key" | "check" | "empty" | "unknown" | "lines" | "section" | "warning" | "return" | "database" | "field" | "metric" | "segment" | "fields" | "sum" | "breakout" | "pulse" | "snippet" | "collection" | "location" | "variable" | "search" | "model" | "external" | "history" | "move" | "person" | "sun" | "download" | "grid" | "revert" | "label" | "ellipsis" | "split" | "link" | "area" | "embed" | "progress" | "alert" | "document" | "group" | "tab" | "copy" | "add" | "add_column" | "add_data" | "add_row" | "add_to_dash" | "ai" | "alert_filled" | "alert_confirm" | "archive" | "attachment" | "arrow_up" | "arrow_down" | "arrow_left" | "arrow_left_to_line" | "arrow_right" | "arrow_split" | "audit" | "badge" | "bar" | "bell" | "birthday" | "bookmark" | "bookmark_filled" | "bolt" | "bolt_filled" | "bubble" | "burger" | "calendar" | "chevrondown" | "chevronleft" | "chevronright" | "chevronup" | "click" | "clock" | "clone" | "close" | "cloud" | "cloud_filled" | "compare" | "combine" | "connections" | "contract" | "curved" | "dash" | "curve" | "dyno" | "edit_document" | "enter_or_return" | "expand" | "expand_arrow" | "extract" | "eye" | "eye_crossed_out" | "eye_outline" | "bug" | "formula" | "funnel" | "funnel_outline" | "folder" | "folder_filled" | "gauge" | "gear" | "gem" | "globe" | "grabber" | "google" | "google_drive" | "google_sheet" | "home" | "horizontal_bar" | "hourglass" | "info_filled" | "info_outline" | "insight" | "join_full_outer" | "join_inner" | "join_left_outer" | "join_right_outer" | "index" | "ldap" | "learn" | "lightbulb" | "lineandbar" | "line_style_dashed" | "line_style_dotted" | "line_style_solid" | "lock" | "lock_filled" | "mail" | "mail_filled" | "model_with_badge" | "moon" | "move_card" | "new_folder" | "notebook" | "palette" | "pause" | "pencil" | "pencil_lines" | "permissions_limited" | "pie" | "pin" | "pinmap" | "pivot_table" | "play" | "play_outlined" | "popover" | "popular" | "recents" | "sankey" | "sql" | "subscription" | "straight" | "stepped" | "sort_arrows" | "sync" | "reference" | "refresh" | "refresh_downstream" | "rocket" | "ruler" | "shield" | "sidebar_closed" | "sidebar_open" | "slack" | "slack_colorized" | "smartscalar" | "sparkles" | "star_filled" | "star" | "store" | "t-shirt" | "table2" | "time_history" | "trash" | "trash_filled" | "triangle_left" | "triangle_right" | "unarchive" | "unpin" | "upload" | "verified" | "official_collection" | "verified_filled" | "view_archive" | "warning_round_filled" | "waterfall" | "webhook" | "10k" | "1m" | "zoom_in" | "zoom_out" | "scalar" | "cake" | "table_spaced" | "beaker" | "eye_filled";
        color: "filter" | "error" | "warning" | "white" | "brand" | "summarize" | "accent0" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent-gray" | "accent-gray-light" | "accent-gray-dark" | "admin-navbar" | "success" | "danger" | "text-dark" | "text-medium" | "text-light" | "text-white" | "bg-black" | "bg-dark" | "bg-medium" | "bg-light" | "bg-white" | "bg-yellow" | "bg-night" | "bg-error" | "shadow" | "border" | "saturated-blue" | "saturated-green" | "saturated-purple" | "saturated-red" | "saturated-yellow";
    } | NoIcon | undefined;
    title: string;
}[];
export declare const getQuestionIcon: (card: any) => {
    icon: "string" | "number" | "function" | "dashboard" | "question" | "clipboard" | "share" | "table" | "line" | "list" | "sort" | "filter" | "info" | "io" | "int" | "key" | "check" | "empty" | "unknown" | "lines" | "section" | "warning" | "return" | "database" | "field" | "metric" | "segment" | "fields" | "sum" | "breakout" | "pulse" | "snippet" | "collection" | "location" | "variable" | "search" | "model" | "external" | "history" | "move" | "person" | "sun" | "download" | "grid" | "revert" | "label" | "ellipsis" | "split" | "link" | "area" | "embed" | "progress" | "alert" | "document" | "group" | "tab" | "copy" | "add" | "add_column" | "add_data" | "add_row" | "add_to_dash" | "ai" | "alert_filled" | "alert_confirm" | "archive" | "attachment" | "arrow_up" | "arrow_down" | "arrow_left" | "arrow_left_to_line" | "arrow_right" | "arrow_split" | "audit" | "badge" | "bar" | "bell" | "birthday" | "bookmark" | "bookmark_filled" | "bolt" | "bolt_filled" | "bubble" | "burger" | "calendar" | "chevrondown" | "chevronleft" | "chevronright" | "chevronup" | "click" | "clock" | "clone" | "close" | "cloud" | "cloud_filled" | "compare" | "combine" | "connections" | "contract" | "curved" | "dash" | "curve" | "dyno" | "edit_document" | "enter_or_return" | "expand" | "expand_arrow" | "extract" | "eye" | "eye_crossed_out" | "eye_outline" | "bug" | "formula" | "funnel" | "funnel_outline" | "folder" | "folder_filled" | "gauge" | "gear" | "gem" | "globe" | "grabber" | "google" | "google_drive" | "google_sheet" | "home" | "horizontal_bar" | "hourglass" | "info_filled" | "info_outline" | "insight" | "join_full_outer" | "join_inner" | "join_left_outer" | "join_right_outer" | "index" | "ldap" | "learn" | "lightbulb" | "lineandbar" | "line_style_dashed" | "line_style_dotted" | "line_style_solid" | "lock" | "lock_filled" | "mail" | "mail_filled" | "model_with_badge" | "moon" | "move_card" | "new_folder" | "notebook" | "palette" | "pause" | "pencil" | "pencil_lines" | "permissions_limited" | "pie" | "pin" | "pinmap" | "pivot_table" | "play" | "play_outlined" | "popover" | "popular" | "recents" | "sankey" | "sql" | "subscription" | "straight" | "stepped" | "sort_arrows" | "sync" | "reference" | "refresh" | "refresh_downstream" | "rocket" | "ruler" | "shield" | "sidebar_closed" | "sidebar_open" | "slack" | "slack_colorized" | "smartscalar" | "sparkles" | "star_filled" | "star" | "store" | "t-shirt" | "table2" | "time_history" | "trash" | "trash_filled" | "triangle_left" | "triangle_right" | "unarchive" | "unpin" | "upload" | "verified" | "official_collection" | "verified_filled" | "view_archive" | "warning_round_filled" | "waterfall" | "webhook" | "10k" | "1m" | "zoom_in" | "zoom_out" | "scalar" | "cake" | "table_spaced" | "beaker" | "eye_filled";
    tooltip: string;
} | null;
