default: { add: ( avatar: { name: string; path: string; type: string }, ) => Promise<INewAvatar>; del: (avatar: { id: string }) => Promise<void>; get: <T extends TAvatarGet>( id: string, data: T, ) => Promise<undefined | IAvatar<T>>;} = ... Type declaration
add: (avatar: { name: string; path: string; type: string }) => Promise<INewAvatar>
del: (avatar: { id: string }) => Promise<void>
get: <T extends TAvatarGet>(id: string, data: T) => Promise<undefined | IAvatar<T>>