{"version":3,"file":"AvatarToken.types.cjs","sourceRoot":"","sources":["../../../src/components/AvatarToken/AvatarToken.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { AvatarTokenPropsShared } from '@metamask/design-system-shared';\nimport type { ComponentProps } from 'react';\n\nimport type { AvatarBaseProps } from '../AvatarBase';\n\n/**\n * AvatarToken component props (React platform-specific)\n * Extends shared props from @metamask/design-system-shared with React-specific platform concerns\n */\nexport type AvatarTokenProps = Omit<\n  ComponentProps<'img'>,\n  'children' | 'size'\n> &\n  Omit<AvatarBaseProps, 'children'> &\n  AvatarTokenPropsShared & {\n    /**\n     * Optional URL for the token image\n     * When provided, displays the image instead of fallback text\n     */\n    src?: string;\n    /**\n     * Optional prop to pass to the underlying img element\n     * Useful for overriding the default alt text which is the token name\n     */\n    imageProps?: ComponentProps<'img'> & {\n      'data-testid'?: string;\n    };\n  };\n"]}