export interface UseServiceOptions { service: () => Promise; validateEmpty?: (data: T) => boolean; defaultData?: T; }