import { IsoLanguage } from '@signatu/models'; import { ConsentActionType, ConsentConfig, ConsentEvent, ConsentTarget } from '@signatu/consent'; import { Policy } from '@signatu/policy'; import PropTypes from 'prop-types'; import React from 'react'; export interface PolicyConsentDashboardProps { className?: string; config?: ConsentConfig; consentTarget: ConsentTarget; link: string; optOut?: boolean; elementIds?: string[]; language?: IsoLanguage; type?: ConsentActionType; title?: string | JSX.Element; subtitle?: string | JSX.Element; onAction?(consent: ConsentEvent): void; } export interface PolicyConsentDashboardState { policy?: Policy; } declare const styled: React.ComponentType; config: PropTypes.Requireable; }>>; classes: PropTypes.Requireable; consentTarget: PropTypes.Validator; link: PropTypes.Validator; elementIds: PropTypes.Validator; optOut: PropTypes.Validator; title: PropTypes.Validator; subtitle: PropTypes.Validator; type: PropTypes.Validator; language: PropTypes.Validator<"id" | "br" | "hr" | "li" | "th" | "tr" | "ab" | "aa" | "af" | "ak" | "sq" | "am" | "ar" | "an" | "hy" | "as" | "av" | "ae" | "ay" | "az" | "bm" | "ba" | "eu" | "be" | "bn" | "bh" | "bi" | "bs" | "bg" | "my" | "ca" | "ch" | "ce" | "ny" | "zh" | "cv" | "kw" | "co" | "cr" | "cs" | "da" | "dv" | "nl" | "en" | "eo" | "et" | "ee" | "fo" | "fj" | "fi" | "fr" | "ff" | "gl" | "ka" | "de" | "el" | "gn" | "gu" | "ht" | "ha" | "he" | "hz" | "hi" | "ho" | "hu" | "ia" | "ie" | "ga" | "ig" | "ik" | "io" | "is" | "it" | "iu" | "ja" | "jv" | "kl" | "kn" | "kr" | "ks" | "kk" | "km" | "ki" | "rw" | "ky" | "kv" | "kg" | "ko" | "ku" | "kj" | "la" | "lb" | "lg" | "ln" | "lo" | "lt" | "lu" | "lv" | "gv" | "mk" | "mg" | "ms" | "ml" | "mt" | "mi" | "mr" | "mh" | "mn" | "na" | "nv" | "nb" | "nd" | "ne" | "ng" | "nn" | "no" | "ii" | "nr" | "oc" | "oj" | "cu" | "om" | "or" | "os" | "pa" | "pi" | "fa" | "pl" | "ps" | "pt" | "qu" | "rm" | "rn" | "ro" | "ru" | "sa" | "sc" | "sd" | "se" | "sm" | "sg" | "sr" | "gd" | "sn" | "si" | "sk" | "sl" | "so" | "st" | "es" | "su" | "sw" | "ss" | "sv" | "ta" | "te" | "tg" | "ti" | "bo" | "tk" | "tl" | "tn" | "to" | "ts" | "tt" | "tw" | "ty" | "ug" | "uk" | "ur" | "uz" | "ve" | "vi" | "vo" | "wa" | "cy" | "wo" | "fy" | "xh" | "yi" | "yo" | "za" | "ALL_LANGUAGES" | undefined>; onAction: PropTypes.Validator<(() => any) | undefined>; }>, "config" | "language" | "optOut" | "className" | "onAction" | "elementIds" | PropTypes.RequiredKeys<{ className: PropTypes.Validator; config: PropTypes.Requireable; }>>; classes: PropTypes.Requireable; consentTarget: PropTypes.Validator; link: PropTypes.Validator; elementIds: PropTypes.Validator; optOut: PropTypes.Validator; title: PropTypes.Validator; subtitle: PropTypes.Validator; type: PropTypes.Validator; language: PropTypes.Validator<"id" | "br" | "hr" | "li" | "th" | "tr" | "ab" | "aa" | "af" | "ak" | "sq" | "am" | "ar" | "an" | "hy" | "as" | "av" | "ae" | "ay" | "az" | "bm" | "ba" | "eu" | "be" | "bn" | "bh" | "bi" | "bs" | "bg" | "my" | "ca" | "ch" | "ce" | "ny" | "zh" | "cv" | "kw" | "co" | "cr" | "cs" | "da" | "dv" | "nl" | "en" | "eo" | "et" | "ee" | "fo" | "fj" | "fi" | "fr" | "ff" | "gl" | "ka" | "de" | "el" | "gn" | "gu" | "ht" | "ha" | "he" | "hz" | "hi" | "ho" | "hu" | "ia" | "ie" | "ga" | "ig" | "ik" | "io" | "is" | "it" | "iu" | "ja" | "jv" | "kl" | "kn" | "kr" | "ks" | "kk" | "km" | "ki" | "rw" | "ky" | "kv" | "kg" | "ko" | "ku" | "kj" | "la" | "lb" | "lg" | "ln" | "lo" | "lt" | "lu" | "lv" | "gv" | "mk" | "mg" | "ms" | "ml" | "mt" | "mi" | "mr" | "mh" | "mn" | "na" | "nv" | "nb" | "nd" | "ne" | "ng" | "nn" | "no" | "ii" | "nr" | "oc" | "oj" | "cu" | "om" | "or" | "os" | "pa" | "pi" | "fa" | "pl" | "ps" | "pt" | "qu" | "rm" | "rn" | "ro" | "ru" | "sa" | "sc" | "sd" | "se" | "sm" | "sg" | "sr" | "gd" | "sn" | "si" | "sk" | "sl" | "so" | "st" | "es" | "su" | "sw" | "ss" | "sv" | "ta" | "te" | "tg" | "ti" | "bo" | "tk" | "tl" | "tn" | "to" | "ts" | "tt" | "tw" | "ty" | "ug" | "uk" | "ur" | "uz" | "ve" | "vi" | "vo" | "wa" | "cy" | "wo" | "fy" | "xh" | "yi" | "yo" | "za" | "ALL_LANGUAGES" | undefined>; onAction: PropTypes.Validator<(() => any) | undefined>; }>> & import("@material-ui/core").StyledComponentProps<"root" | "consentContainer">>; export { styled as PolicyConsentDashboard }; export default styled; //# sourceMappingURL=policy-consent-dashboard.d.ts.map