package design import "context" type BackgroundRemovalRequest struct { Image []byte ContentType string Width int Height int InputSize int } type BackgroundRemoval struct { Image []byte ContentType string Width int Height int } type BackgroundRemover interface { RemoveBackground(ctx context.Context, req BackgroundRemovalRequest) (BackgroundRemoval, error) }