import React from 'react'; import { ViewProps, ScrollViewProps } from 'react-native'; import type { HeaderType } from './types/HeaderType'; import type { ContentType } from './types/ContentType'; interface Props extends ViewProps { renderFooter?: (read: boolean) => React.ReactNode; readonly headerProps?: ViewProps; readonly contentProps?: ScrollViewProps; readonly footerProps?: ViewProps; readonly isRead?: boolean; onReadChange?: (read: boolean) => void; onRead?: () => void; } declare const Agreement: ({ renderHeader, renderContent, renderFooter, headerComponent, contentComponent, headerProps, contentProps, footerProps, isRead, onReadChange, onRead, ...props }: Props & HeaderType & ContentType) => JSX.Element; export default Agreement;