import { PageScrollToOptions, PageScrollToSuccess } from './interface.uts'; export const API_PAGE_SCROLL_TO = 'pageScrollTo' export const PageScrollToProtocol = new Map([ [ 'scrollTo', { type: 'number' } ], [ 'selector', { type: 'string' } ], [ 'duration', { type: 'number' } ] ]) export const PageScrollToApiOptions: ApiOptions = { formatArgs: new Map([ ['duration', 300] ]) }