/** * Fabric component spec for ContentBlockCarouselView * More complex: includes commands for bidirectional communication */ import type { ViewProps, HostComponent } from 'react-native'; import type { Int32, DirectEventHandler, WithDefault, Double } from 'react-native/Libraries/Types/CodegenTypes'; import * as React from 'react'; type DimensChangedEvent = Readonly<{ width: Double; height: Double; }>; type ContentBlockEventData = Readonly<{ eventType: string; placeholderId?: string; contentBlock?: string; contentBlockAction?: string; errorMessage?: string; index?: Int32; count?: Int32; contentBlocks?: string; }>; type ContentBlockDataRequestEvent = Readonly<{ requestType: string; data: string; }>; export interface ContentBlockCarouselViewNativeProps extends ViewProps { placeholderId: string; maxMessagesCount?: Int32; scrollDelay?: Int32; overrideDefaultBehavior?: WithDefault; trackActions?: WithDefault; customFilterActive?: WithDefault; customSortActive?: WithDefault; onDimensChanged?: DirectEventHandler; onContentBlockEvent?: DirectEventHandler; onContentBlockDataRequestEvent?: DirectEventHandler; } export interface NativeCommands { filterResponse: (viewRef: React.ElementRef>, contentBlocks: string) => void; sortResponse: (viewRef: React.ElementRef>, contentBlocks: string) => void; } export declare const Commands: NativeCommands; declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType; export default _default; //# sourceMappingURL=ContentBlockCarouselViewNativeComponent.d.ts.map