// Type definitions for @storybook/addon-links 3.3 // Project: https://github.com/storybooks/storybook // Definitions by: Joscha Feth , // Jesse Pinho // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 import * as React from 'react'; export type LinkToFunction = (...args: any[]) => string; export function linkTo(book: string | LinkToFunction, kind?: string | LinkToFunction): React.MouseEventHandler; export function hrefTo(kind: string, story: string): Promise;