how import and export a function in typescript code example Example: export interface typescript interface Props {} export interface IRefered { name: string }