export interface Props { open: boolean; } export interface Instance { open: (callback: () => void) => void; close: (callback: () => void) => void; } export interface OnReady { instanceRef: Instance; }