/** @module @airtable/blocks/ui: Switch */ /** */ import * as React from 'react'; import { GlobalConfigKey } from '../types/global_config'; import { SharedSwitchProps } from './switch'; /** * Props for the {@link SwitchSynced} component. Also accepts: * * {@link SwitchStyleProps} * * @docsPath UI/components/SwitchSynced * @groupPath UI/components/Switch */ interface SwitchSyncedProps extends SharedSwitchProps { /** A string key or array key path in {@link GlobalConfig}. The switch option will always reflect the boolean value stored in `globalConfig` for this key. Toggling the switch will update `globalConfig`. */ globalConfigKey: GlobalConfigKey; } declare const ForwardedRefSwitchSynced: React.ForwardRefExoticComponent>; export default ForwardedRefSwitchSynced;