export default function getClearCallee({ clear, selections, selectionInfo, chart }: { clear?: (({ chart, document, selections, selectionInfo, ...args }: { [x: string]: any; chart: any; document: any; selections: any; selectionInfo: any; }) => void) | undefined; selections: any; selectionInfo: any; chart: any; }): ({ cleared }?: {}) => void;